1
0
This commit is contained in:
2023-08-26 11:25:40 +08:00
parent e9805e98e4
commit 9545d76071
34 changed files with 1546 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
[Unit]
Description=Cron task daemon
After=network-online.target
[Service]
Type=simple
LimitNOFILE=65535
Restart=always
ExecStart=/usr/local/omc/bin/crontask -c /usr/local/omc/etc/crontask.yaml
RestartSec=2
RestartPreventExitStatus=1
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target