[systemd-devel] StopWhenUnneeded and Templated install paches
Oleksii Shevchuk
alxchk at gmail.com
Wed Jan 16 04:36:14 PST 2013
Hi list!
First patch removes StopWhenUnneeded= when service starts, if service will be stopped after start, because WantedBy=,RequiredBy,.. is empty.
Second one allows templated enable, like:
> grep WantedBy ~/.config/systemd/user/mpop at .timer
WantedBy=services@%i.target
> srv disable mpop at iit.timer
rm '/home/alxchk/.config/systemd/user/services at iit.target.wants/mpop at iit.timer'
alxchk > srv enable mpop at iit.timer
ln -s '/home/alxchk/.config/systemd/user/mpop at .timer' '/home/alxchk/.config/systemd/user/services at iit.target.wants/mpop at iit.timer'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: StopWhenUnneeded.patch
Type: text/x-diff
Size: 6761 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130116/9bfa08e7/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Templates.patch
Type: text/x-diff
Size: 2261 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130116/9bfa08e7/attachment-0001.patch>
More information about the systemd-devel
mailing list