This commit is contained in:
simonzhangsz committed 2023-09-16 13:35:44 +08:00
1 parent 8809b92498
commit a00649aec4
32 files changed
+7 -7

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
+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=REST agent daemon
After=network-online.target
[Service]
Type=simple
LimitNOFILE=65535
Restart=always
ExecStart=/usr/local/omc/bin/restagent -c /usr/local/omc/etc/restconf.yaml
RestartSec=2
RestartPreventExitStatus=1
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=SSH MML service daemon
After=network-online.target
[Service]
Type=simple
LimitNOFILE=65535
Restart=always
ExecStart=/usr/local/omc/run/sshsvc -c /usr/local/omc/etc/sshsvc.yaml
RestartSec=2
RestartPreventExitStatus=1
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target