This commit is contained in:
simonzhangsz committed 2023-08-26 11:25:40 +08:00
1 parent e9805e98e4
commit 9545d76071
34 files changed
+1546

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