Updated systemd script.
This commit is contained in:
parent
17aea79d57
commit
f252c44fe8
1 changed files with 6 additions and 2 deletions
|
@ -1,12 +1,16 @@
|
|||
[Unit]
|
||||
Description=MistServer
|
||||
After=networkmanager.service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/MistController -c /etc/mistserver.conf
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
RestartSec=2
|
||||
TasksMax=infinity
|
||||
TimeoutStopSec=8
|
||||
ExecStopPost=/bin/bash -c "rm -f /dev/shm/*Mst*"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue