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 <graw...@gmail.com
<mailto:graw...@gmail.com>> wrote:

    On Fri, Jul 8, 2016 at 7:52 AM, One Infinite Loop <6po...@gmail.com
    <mailto:6po...@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 <graw...@gmail.com <mailto:graw...@gmail.com>>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to