Dear Johannes,
Am 12.06.21 um 01:55 schrieb Johannes Ernst:
I can run a full Arch system (with systemd as PID 1) in a Docker container in
Docker privileged mode:
sudo docker run -i -t --privileged archlinux /usr/lib/systemd/systemd
but privileged mode is, well, a bit privileged. I believe
I can run a full Arch system (with systemd as PID 1) in a Docker container in
Docker privileged mode:
sudo docker run -i -t --privileged archlinux /usr/lib/systemd/systemd
but privileged mode is, well, a bit privileged. I believe used to be able to
tone this down with something like:
sud
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