1
0

feat: 将sshsvc移除

This commit is contained in:
TsMask
2025-07-16 15:46:20 +08:00
parent 6ab25532e5
commit f925645b88
14 changed files with 11 additions and 63 deletions

View File

@@ -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

View File

@@ -1,6 +1,6 @@
#!/bin/bash
ServiceList="omc sshsvc"
ServiceList="omc"
BinDir="/usr/local/bin"
# Check if the service exists

View File

@@ -1 +0,0 @@
占位