[systemd-devel] Adding a Timer section to .service files
Reindl Harald
h.reindl at thelounge.net
Fri Jul 8 07:08:28 UTC 2016
Am 08.07.2016 um 07:35 schrieb One Infinite Loop:
> systemctl start foo.service
> systemctl enable foo.service
would enabled timer *and* service
how would you disable the timer alone?
how do you imagine that to work with Type=forking or Type=simple
sorry that is a sonsense idea because it offers the worm of cans
contradictory
> systemd tools must be modified/adjusted too
>
> On Fri, Jul 8, 2016 at 8:08 AM, Mantas Mikulėnas <grawity at gmail.com
> <mailto:grawity at gmail.com>> wrote:
>
> On Fri, Jul 8, 2016 at 7:52 AM, One Infinite Loop <6pozmo at gmail.com
> <mailto:6pozmo at gmail.com>> wrote:
>
> Instead of having a .service file and a .timer file why not
> having a [Timer] section inside a .service file? It would be
> much more manageable as one file.
>
>
> More manageable? How would you actually activate/deactivate it
> without being able to 'systemctl start foo.timer'?
>
> --
> Mantas Mikulėnas <grawity at gmail.com <mailto:grawity at gmail.com>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160708/c643bfc5/attachment.sig>
More information about the systemd-devel
mailing list