perror doesn't define exit statuses. It defines syscall return codes and
libc function errno values, which usually have nothing to do with the exit
code of the whole process.
Aside from the convention that "non-zero = failure", you have to look at
the docs of the whole program (e.g. if it's a shel
Dnia Fri, Jun 11, 2021 at 10:50:34AM -0400, Doug Koobs napisał(a):
> Hello all,
>
> tldr: Is there way I can use systemd to run scripts in
> /usr/lib/systemd/system-sleep at suspend before disabling the network?
> curl: (6) Could not resolve host: maker.ifttt.com
>
> My assumption is that sys
Hello all,
tldr: Is there way I can use systemd to run scripts in
/usr/lib/systemd/system-sleep at suspend before disabling the network?
I've put a script in /usr/lib/systemd/system-sleep that makes an HTTP
post to an IFTTT webhook when it's passed "pre" as $1. The script is
successful if I