Am Wed, 05 Oct 2016 14:40:52 +0200 schrieb Xen <l...@xenhideout.nl>: > Xen schreef op 05-10-2016 14:37: > > > And this works. But now the service must be started first before it > > will be called on shutdown... :-/. > > I guess the package installer would have to start the service after > installation which would be a solution in that sense, it needs to > enable the service anyway. > > Also I don't understand why /etc/init.d/libnss-ldap masks > /etc/systemd/system/libnss-ldap.service for the enable call. > > It will see the init script and then call the sysv thing and will > never get to the actual service file I have created? > > Thanks for your help.
You could make a path unit that watches for changes to the configuration file and then runs the script. -- Regards, Kai Replies to list-only preferred. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel