On Mon, 21.01.13 16:29, Paul Wouters ([email protected]) wrote: > >>A solution for now could be to > >>'sed s/Restart=yes/Restart=no/ ipsec.service > > >>/run/systemd/systemd/ipsec.service' > >>and 'systemctl daemon-reload'. The changes will go away at next > >>reboot. (This will only work if you install files into > >>/usr/lib/systemd/system and not /etc/systemd/system, since the latter > >>once take precedence.) > > > >Yeah, this is kinda the same solution I proposed here: > > > >https://bugzilla.redhat.com/show_bug.cgi?id=807897 > > But /run gets cleared on reboots. So I would still lose the setting.
well, then use /etc instead, which is persistent. > I opted for always changing the /lib/systemd/system/ipsec.service > file and running daemon-reload. Thou shalt not touch /usr/lib. That's package manager territory. If you want to edit files from there, copy them to the respective dir in /etc, and edit them there. systemd will read units in /etc instead of those in /usr if their names match. Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
