Add systemd/sketchman.service
This commit is contained in:
parent
4583828c90
commit
605ee64678
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Restarts Sketchman if he closes
|
||||
|
||||
[Service]
|
||||
User=sketchman
|
||||
Working Directory=/usr/bin/sketchman/
|
||||
ExecStart=/usr/bin/sketchman/bin/python3.11 /usr/bin/sketchman/bot.py
|
||||
Restart=always
|
||||
RestartSec=600
|
||||
RestartPreventExitStatus=SIGTERM
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue