Merge pull request 'Basic systemd service' (#4) from systemd into master
Reviewed-on: #4
This commit is contained in:
commit
28efaf9eec
14
init/systemd/watbot@.service
Normal file
14
init/systemd/watbot@.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=watbot for %i
|
||||
Wants=network.target
|
||||
|
||||
[Service]
|
||||
User=watbot
|
||||
Group=watbot
|
||||
WorkingDirectory=/opt/watbot/watbot-%i
|
||||
ExecStart=/opt/watbot/go/bin/watbot wat.db
|
||||
Restart=always
|
||||
RestartSec=15
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user