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:
18
whiskr.service
Normal file
18
whiskr.service
Normal 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
|
Reference in New Issue
Block a user