On Wed, 20.08.14 10:25, Florian Lindner ([email protected]) wrote:

> The timer I try to enable contains a Install section.
> 
> florian@asaru ~/.config/systemd/user % cat [email protected]
> [Unit]
> Description=Timer to commit all changes in instance.
> 
> [Timer]
> OnUnitActiveSec=5min
> OnActiveSec=5min
> AccuracySec = 5min
> 
> [Install]
> WantedBy=default.target

> florian@asaru ~/.config/systemd/user % systemctl --user enable git-
> commit@/home/florian/timer.test.timer
> Failed to execute operation: Invalid argument

Use something like this instead:

    systemctl --user enable `systemd-escape -p [email protected] 
/home/florian/timer.test`

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to