This commit is contained in:
yumoqing 2025-06-30 19:04:59 +08:00
parent e850adef0b
commit b678f3d846

View File

@ -12,6 +12,7 @@ sudo cat > /etc/systemd/system/$servicename.service <<EOF
Wants=systemd-networkd.service
[Service]
Type=forking
WorkingDirectory=$workdir
ExecStart=$workdir/start.sh
ExecStop=$workdir/stop.sh