diff --git a/srink.service b/srink.service new file mode 100644 index 0000000..5786bf3 --- /dev/null +++ b/srink.service @@ -0,0 +1,14 @@ +[Unit] +Description=Srink Server +After=network.target + +[Service] +User=root +Group=root +WorkingDirectory=/home/srink.co/srink/ +ExecStart=/home/srink.co/srink/srink server +ExecReload=/bin/kill -s HUP $MAINPID +RestartSec=5 + +[Install] +WantedBy=multi-user.target \ No newline at end of file