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 <[email protected]
<mailto:[email protected]>> wrote:

    On Fri, Jul 8, 2016 at 7:52 AM, One Infinite Loop <[email protected]
    <mailto:[email protected]>> 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 <[email protected] <mailto:[email protected]>>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to