Re: [vdr] [ANNOUNCE] VDR Power Button Daemon 0.0.1

2013-03-29 Thread Sebastian Frei
Hello, I don't want to hijack your thread, but just as a reference here is my solution with acpid to achieve nearly the same: /etc/acpid/power: event=button/power* action=/sbin/acpishutdown.sh /sbin/acpishutdown.sh: #!/bin/sh if [ -e /tmp/acpibutton ]; then if [ `/bin/ls /tmp/acpibutton

Re: [vdr] [ANNOUNCE] VDR Power Button Daemon 0.0.1

2013-03-28 Thread YUP
OK, thanks, it's good to know such a thing before installing on Archlinux. Did you mean set PowerKeyIgnoreInhibited to yes in /etc/systemd/logind.conf ? BTW, could you post a link to your bug report on systemd? Yarema 2013/3/27 Manuel Reimer manuel.rei...@gmx.de YUP wrote: Very cool! Gonna

Re: [vdr] [ANNOUNCE] VDR Power Button Daemon 0.0.1

2013-03-28 Thread Lucian Muresan
On 28.03.2013 09:44, YUP wrote: OK, thanks, it's good to know such a thing before installing on Archlinux. Did you mean set PowerKeyIgnoreInhibited to yes in /etc/systemd/logind.conf ? BTW, could you post a link to your bug report on systemd? What about using this with non-systemd init, does

Re: [vdr] [ANNOUNCE] VDR Power Button Daemon 0.0.1

2013-03-28 Thread Manuel Reimer
Lucian Muresan wrote: What about using this with non-systemd init, does it just work by actually deactivating or rather replacing acpid? Just execute the binary. It will work without any configuration. The default behaviour is to fork to background (classic Unix daemon). If you want to run

Re: [vdr] [ANNOUNCE] VDR Power Button Daemon 0.0.1

2013-03-28 Thread Manuel Reimer
YUP wrote: OK, thanks, it's good to know such a thing before installing on Archlinux. Did you mean set PowerKeyIgnoreInhibited to yes in /etc/systemd/logind.conf ? $ echo HandlePowerKey=ignore /etc/systemd/logind.conf BTW, could you post a link to your bug report on systemd?

[vdr] [ANNOUNCE] VDR Power Button Daemon 0.0.1

2013-03-27 Thread Manuel Reimer
Hello List, I have written a small daemon, which can replace acpid on VDR systems and was written with dedicated VDR systems in mind. Core Features: - Faster than acpid with all the required external scripts. - Emergency reboot feature. You don't loose the power button as safe emergency

Re: [vdr] [ANNOUNCE] VDR Power Button Daemon 0.0.1

2013-03-27 Thread YUP
Very cool! Gonna try it. Integration with systemd is very useful. Best, Yarema On Mar 27, 2013 6:45 PM, Manuel Reimer manuel.rei...@gmx.de wrote: Hello List, I have written a small daemon, which can replace acpid on VDR systems and was written with dedicated VDR systems in mind. Core

Re: [vdr] [ANNOUNCE] VDR Power Button Daemon 0.0.1

2013-03-27 Thread Manuel Reimer
YUP wrote: Very cool! Gonna try it. Integration with systemd is very useful. Would be very useful, but at least the inhibitor thing, which was intented to block systemd from shutting down the system if the button is pressed, seems to be broken. So if you use it on systemd-based systems, you