mdserver-web/plugins/tamper_proof_py/init.d/tamper_proof_py.service.tpl

14 lines
329 B
Smarty

[Unit]
Description=tamper_proof_py server daemon
After=network.target
[Service]
Type=forking
ExecStart={$SERVER_PATH}/init.d/tamper_proof_py start
ExecStop={$SERVER_PATH}/init.d/tamper_proof_py stop
ExecReload={$SERVER_PATH}/init.d/tamper_proof_py reload
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target