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/

    [Unit]
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!
Roger

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

Reply via email to