因此,必须将脚本放在中ExecStop=。 以下解决方案为我工作: [Unit] Description=... [Service] Type=oneshot RemainAfterExit=true ExecStop=<your script/program> ...
確定! 回上一頁