This commit is contained in:
simonzhangsz committed 2023-08-19 14:25:49 +08:00
1 parent a2fbb6113b
commit 2ae03fbed4
9 files changed
+173

No files matched your search

+16
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