[systemd-devel] Using path name in instantiated units

Andrei Borzenkov arvidjaar at gmail.com
Tue Aug 19 12:06:06 PDT 2014

В Tue, 19 Aug 2014 20:59:55 +0200
Florian Lindner <mailinglists at xgm.de> пишет:

> I also try to set up a matching timer:
> systemctl --user start git-commit@/home/florian/timer.test.timer
> works fine, but:
> systemctl --user enable git-commit@/home/florian/timer.test.timer
> Failed to execute operation: Invalid argument
> Or is creating a target for the timer and set WantedBy in the service file 
> the way to go? But still, why is starting working, but not enabling?

Does your unit have [Install] section?

More information about the systemd-devel mailing list