[systemd-devel] Adding a Timer section to .service files

One Infinite Loop 6pozmo at gmail.com
Fri Jul 8 05:35:14 UTC 2016


systemctl start foo.service
systemctl enable foo.service

systemd tools must be modified/adjusted​ too

On Fri, Jul 8, 2016 at 8:08 AM, Mantas Mikulėnas <grawity at gmail.com> wrote:

> On Fri, Jul 8, 2016 at 7:52 AM, One Infinite Loop <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>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160708/3926361e/attachment-0001.html>


More information about the systemd-devel mailing list