[systemd-devel] Trying to turn off a UPS with home-made service unit
Roger Price
roger at rogerprice.org
Sat Aug 10 14:03:21 PDT 2013
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
More information about the systemd-devel
mailing list