[systemd-devel] systemd-inhibit fails when run from a service file

2019-12-03 Thread Amish
(Resending because earlier one, date 26/11/2019, did not get any response) Hello, I have a small perl program which downloads something. While downloading it inhibits (blocks) shutdown, reboot etc. The program runs as user "foo". Roughly the code is something like this: $ cat

[systemd-devel] Porting init script using unshare, overlayfs to systemd

2019-12-03 Thread Daniel Farina
Hello everyone, I'm porting a patch to an init script to systemd, and I have a few questions. More specifically, I'm porting a relatively small patch to the existing PostgreSQL Development Group (PGDG yum) Redhat init scripts to systemd. The patch looks something like this: echo -n