Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4878

Raspberry Pi OS • Re: Can't get a script to run on shutdown (Systemd) pi5 bookworm

$
0
0
Wouldn't it be easier to adjust your app so that it catches whatever signal it gets sent by the shutdown process? (Usually, it will be signal 1 - SIGHUP).

Then you can make your app do the right thing when it receives that signal.

Statistics: Posted by BigRedMailbox — Wed Jan 01, 2025 5:45 pm



Viewing all articles
Browse latest Browse all 4878

Trending Articles