fix: service removed

This commit is contained in:
simonzhangsz committed 2024-05-17 19:57:31 +08:00
1 parent aba6f10651
commit ca347f27a2
3 files changed
-51

No files matched your search

-17
View File
@@ -1,17 +0,0 @@
[Unit]
Description=Cron task daemon
After=network-online.target
[Service]
Type=simple
LimitNOFILE=65535
LimitNPROC=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
@@ -1,17 +0,0 @@
[Unit]
Description=REST agent daemon
After=network-online.target
[Service]
Type=simple
LimitNOFILE=65535
LimitNPROC=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
-17
View File
@@ -1,17 +0,0 @@
[Unit]
Description=SSH MML service daemon
After=network-online.target
[Service]
Type=simple
LimitNOFILE=65535
LimitNPROC=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