Skip to content

Commit

Permalink
add systemd service instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
celestix committed Mar 30, 2024
1 parent 0664052 commit 28bc32f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions srink.service
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 28bc32f

Please sign in to comment.