1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-09-07 08:15:31 +00:00

premade systemd service

This commit is contained in:
Laura
2025-08-16 17:38:35 +02:00
parent dbac0d7b50
commit efd373f4c8

18
whiskr.service Normal file
View File

@@ -0,0 +1,18 @@
[Unit]
Description=Whiskr Chat
After=multi-user.target
StartLimitBurst=10
StartLimitIntervalSec=60
[Service]
Type=simple
Restart=always
RestartSec=5
User=root
WorkingDirectory=/var/whiskr
ExecStart=/var/whiskr/whiskr
StandardOutput=append:/var/whiskr/whiskr.log
StandardError=append:/var/whiskr/whiskr.log
[Install]
WantedBy=multi-user.target