[systemd-devel] Trying to turn off a UPS with home-made service unit

2013-08-10 Thread Roger Price
I am new to systemd and I am trying to power off a UPS unit using a home-made service unit /lib/systemd/system/ups-delayed-shutdown.service running on openSUSE 12.3. [Unit] Description=Initiate delayed UPS shutdown Before=umount.target [Service] Type=oneshot

Re: [systemd-devel] [PATCH] udev: fail firmware loading immediately if no search path is defined

2013-08-10 Thread Tom Gundersen
Hi Maarten, On 7 Aug 2013 09:52, Maarten Lankhorst m.b.lankho...@gmail.com wrote: So what is wrong with my 'fail in udev immediately if not configured' idea? In that case it doesn't matter whether CONFIG_FW_LOADER_USER_HELPER is set or not. Well that would break the case for anyone who

Re: [systemd-devel] Trying to turn off a UPS with home-made service unit

2013-08-10 Thread Roger Price
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