Add a systemd unit file
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=LOL-Opener Matrix Bot
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=matrix-lolopener
|
||||||
|
WorkingDirectory=/opt/matrix-lolopener/etc
|
||||||
|
ExecStart=/opt/matrix-lolopener/bin/matrix-lolopener
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Reference in New Issue
Block a user