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

2020-01-13 Thread Lennart Poettering
On Di, 03.12.19 11:27, Daniel Farina (dan...@fdr.io) wrote: > > Fairly neat and tidy, but of some trouble is the fact that I need a few > root manipulations, and "User=postgres" becomes a liability for that. I > could change that to root and then pepper "su" everywhere to get the deed > done, but

[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