On Sat, 10 Aug 2013, Andrey Borzenkov wrote:
Home made service should normally go into /etc/systemd.
I moved my service to /etc/systemd/system/
You need to add DefaultDependencies=no. Otherwise your service will
conflict with shutdown.target.
I added DefaultDependencies=no and my service works!
systemd --system --test --unit poweroff.target --log-level debug
can be used to see what would be started and why.
Thanks for your help!
systemd-devel mailing list