Added init.d and systemd service files.
This commit is contained in:
parent
d519a8f6a0
commit
0b3dc1f3ba
2 changed files with 58 additions and 0 deletions
12
mistserver.service
Normal file
12
mistserver.service
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=MistServer
|
||||
After=networkmanager.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/MistController -c /etc/mistserver.conf
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue