add restart cmd, add example service file
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=fedigroups daemon
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=bot
|
||||
SyslogIdentifier=fedigroups
|
||||
WorkingDirectory=/srv/bots/fedigroups/
|
||||
ExecStart=/srv/bots/fedigroups/fedigroups -v
|
||||
Restart=always
|
||||
RestartSec=15
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user