Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
サーバーがシャットダウンするとき、つまり実行レベル 0 のときにスクリプトを実行する必要があります。しかし、ここでの問題は、ネットワークがダウンするため、実行レベル 0 では実行できないスクリプトで curl 呼び出しを行う必要があることです。
だから私の質問は、どうすればこれを達成できますか?
基本的に私が探しているのは、システムが実行レベル 3 から実行レベル 0 になったときにスクリプトを実行するソリューションです。
どんな助けでも大歓迎です。