2022-06-17 03:52:52 -04:00
|
|
|
[Unit]
|
2022-11-10 08:12:22 -05:00
|
|
|
Description=mw-task daemon
|
2022-06-17 03:52:52 -04:00
|
|
|
After=network.target
|
|
|
|
|
|
|
|
|
|
[Service]
|
2022-06-17 04:36:36 -04:00
|
|
|
Type=simple
|
|
|
|
|
WorkingDirectory={$SERVER_PATH}
|
2022-11-10 08:20:12 -05:00
|
|
|
EnvironmentFile={$SERVER_PATH}/scripts/init.d/service.sh
|
2024-10-31 14:10:08 -04:00
|
|
|
ExecStart=python3 panel_task.py
|
2022-06-17 03:52:52 -04:00
|
|
|
ExecStop=kill -HUP $MAINID
|
|
|
|
|
ExecReload=kill -HUP $MAINID
|
|
|
|
|
KillMode=process
|
|
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=multi-user.target
|