proxmaster/proxmaster.service

20 lines
364 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Proxmaster
After=network.target
After=systemd-user-sessions.service
After=network-online.target
[Service]
User=master
Type=forking
ExecStart=/usr/bin/screen -dmS proxmaster /home/master/proxmaster/start.sh
#ExecStop=
TimeoutSec=30
Restart=on-failure
RestartSec=30
StartLimitInterval=350
StartLimitBurst=10
[Install]
WantedBy=multi-user.target