diff --git a/systemd/m32chat.service b/systemd/m32chat.service new file mode 100644 index 0000000..54ba875 --- /dev/null +++ b/systemd/m32chat.service @@ -0,0 +1,17 @@ +[Unit] +Description=Morserino Chat Server +After=syslog.target +After=network.target +After=redis.service + +[Service] +RestartSec=2s +Type=simple +User=myuser +Group=users +WorkingDirectory=/home/myuser +ExecStart=/usr/local/bin/m32chat +Restart=always + +[Install] +WantedBy=multi-user.target