feat: 将sshsvc移除
This commit is contained in:
1 parent
6ab25532e5
commit
f925645b88
14 files changed
+11
-63
No files matched your search
@@ -1,18 +0,0 @@
|
||||
[Unit]
|
||||
Description=OMC SSH MML service daemon
|
||||
After=network-online.target mysql.service
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
LimitNOFILE=65535
|
||||
LimitNPROC=65535
|
||||
|
||||
Restart=always
|
||||
ExecStart=/usr/local/bin/sshsvc -c /usr/local/etc/omc/sshsvc.yaml
|
||||
RestartSec=3
|
||||
RestartPreventExitStatus=SIGTERM SIGKILL
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
ServiceList="omc sshsvc"
|
||||
ServiceList="omc"
|
||||
BinDir="/usr/local/bin"
|
||||
|
||||
# Check if the service exists
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
占位
|
||||
Reference in new issue
Block a user