mirror of https://github.com/midoks/mdserver-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
414 B
21 lines
414 B
[Unit]
|
|
Description=SimplePing Server
|
|
After=network.service
|
|
After=syslog.target
|
|
|
|
[Service]
|
|
User=root
|
|
Group=root
|
|
Type=simple
|
|
WorkingDirectory={$SERVER_PATH}/simpleping
|
|
ExecStart={$SERVER_PATH}/simpleping/simpleping service
|
|
ExecReload=/bin/kill -USR2 $MAINPID
|
|
PermissionsStartOnly=true
|
|
LimitNOFILE=5000
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
RestartPreventExitStatus=1
|
|
PrivateTmp=false
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |