This commit is contained in:
2023-08-19 14:25:49 +08:00
parent a2fbb6113b
commit 2ae03fbed4
9 changed files with 173 additions and 0 deletions

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