feat: 将sshsvc移除
This commit is contained in:
@@ -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