mirror of https://gitlab.com/octospacc/Configs.git
14 lines
294 B
SYSTEMD
14 lines
294 B
SYSTEMD
[Unit]
|
|
Description=diycron
|
|
After=network.target
|
|
[Service]
|
|
Type=simple
|
|
Restart=always
|
|
RestartSec=15
|
|
#CPUQuota=90%
|
|
#MemoryMax=400M
|
|
User=root
|
|
ExecStart=sh -c "cat /var/log/diycron.log >> /var/log/diycron.log.old; zx /etc/diycron.zx.mjs > /var/log/diycron.log"
|
|
[Install]
|
|
WantedBy=multi-user.target
|