Re: [systemd-devel] systemd-tmpfiles service related queries

2023-10-02 Thread Mantas Mikulėnas
On Mon, Oct 2, 2023 at 2:36 PM Pintu Agarwal wrote: > Hi All, > > I have a doubt related to systemd-tmpfiles-setup.service. > This service is mentioned to be started after local-fs.target. > {{{ > After=local-fs.target systemd-sysusers.service > Before=sysinit.target shutdown.target > }}} > In th

[systemd-devel] systemd-tmpfiles service related queries

2023-10-02 Thread Pintu Agarwal
Hi All, I have a doubt related to systemd-tmpfiles-setup.service. This service is mentioned to be started after local-fs.target. {{{ After=local-fs.target systemd-sysusers.service Before=sysinit.target shutdown.target }}} In this case this service takes only ~125ms. systemd-tmpfiles-setup.service

Re: [systemd-devel] systemd-nspawn/systemd.nspawn machinectl enable/start

2023-10-02 Thread Mantas Mikulėnas
Each nspawn container that's managed via machinectl is run as an instance of "systemd-nspawn@.service". Add a [Service] ExecStartPre= to the instance you need, using `systemctl edit` or similar. On Mon, Oct 2, 2023 at 1:37 AM Rob Ert wrote: > Hello all, > > As I have not been able to find an ans