loader
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
  • Ptt 大爆卦
  • ExecStop
  • 離開本站
你即將離開本站

並前往https://qastack.cn/unix/39226/how-to-run-a-script-with-systemd-right-before-shutdown

如何在关机前立即使用systemd运行脚本? - QA Stack

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

確定! 回上一頁

查詢 「ExecStop」的人也找了:

  1. ExecStop
  2. Systemd execstop kill pid
  3. RemainAfterExit
  4. ExecStartPost
  5. Systemd Restart on-failure
  6. Systemd Restart=always
  7. StartLimitInterval
  8. Systemd multiple processes

關於我們

pttman

pttman Muster

屬於你的大爆卦

聯終我們

聯盟網站

熱搜事件簿