How do I configure your script to restart apache when the power button
is pushed?
Because it has nothing to do with shutdown, you just change
/etc/acpi/events/powerbtn, and modify it to action=invoke-rc.d apache
restart
Quickly,
le Moine Fou
--
[EMAIL PROTECTED]
OpenPGP 0xD9D50D8A
On Donnerstag, 31. Juli 2003 07:24, Pierre THIERRY wrote:
Package: acpid
Version: N/A; reported 2003-07-31
Severity: serious
Justification: Policy 9.1.1
The shell script /etc/acpi/powerbtn.sh should be installed in something
else, like /usr/share/acpid/ or /usr/sbin/.
-- System
On Fri, Aug 01, 2003 at 02:09:36PM +0200, Cajus Pollmeier wrote:
On Donnerstag, 31. Juli 2003 07:24, Pierre THIERRY wrote:
Package: acpid
Version: N/A; reported 2003-07-31
Severity: serious
Justification: Policy 9.1.1
The shell script /etc/acpi/powerbtn.sh should be installed in
Cajus Pollmeier [EMAIL PROTECTED] writes:
On Donnerstag, 31. Juli 2003 07:24, Pierre THIERRY wrote:
Severity: serious
Justification: Policy 9.1.1
(Debian should obey the FHS; I don't claim to be an FHS expert, but
all it seems to say about /etc is no binaries, which this doesn't
violate.)
I think at least the RCness of this bug is rather dubious, frankly. If
the script is configuration
I don't think the script is meant to be edited... So it should be in
/usr/sbin.
Quickly,
le Moine Fou
--
[EMAIL PROTECTED]
OpenPGP 0xD9D50D8A
pgpjHl0gN4jh5.pgp
Description: PGP signature
On Freitag, 1. August 2003 15:31, David Z Maze wrote:
Cajus Pollmeier [EMAIL PROTECTED] writes:
On Donnerstag, 31. Juli 2003 07:24, Pierre THIERRY wrote:
Severity: serious
Justification: Policy 9.1.1
(Debian should obey the FHS; I don't claim to be an FHS expert, but
all it seems to say
Pierre THIERRY wrote:
I don't think the script is meant to be edited... So it should be in
/usr/sbin.
You think wrong. The user should be able to choose whether the power
button triggers shutdown or suspend to disk, for instance.
--
Matthew Garrett | [EMAIL PROTECTED]
You think wrong. The user should be able to choose whether the power
button triggers shutdown or suspend to disk, for instance.
But one shouldn't have to edit a shell script to do it. It should just
be necessary to edit a configuration file. Like modifying the action
value to something like
Pierre THIERRY dijo [Fri, Aug 01, 2003 at 03:58:23PM +0200]:
I think at least the RCness of this bug is rather dubious, frankly. If
the script is configuration
I don't think the script is meant to be edited... So it should be in
/usr/sbin.
There are many scripts in /etc that are not meant
David Z Maze dijo [Fri, Aug 01, 2003 at 09:31:40AM -0400]:
Cajus Pollmeier [EMAIL PROTECTED] writes:
On Donnerstag, 31. Juli 2003 07:24, Pierre THIERRY wrote:
Severity: serious
Justification: Policy 9.1.1
(Debian should obey the FHS; I don't claim to be an FHS expert, but
all it seems
On Fri, Aug 01, 2003 at 10:32:47AM -0500, Gunnar Wolf wrote:
Ummm... I *did* find something strange, maybe you can give some more
insight on this:
[EMAIL PROTECTED]:/$ find /etc -type f -perm -755|xargs file|grep ELF
etc/X11/rstart/rstartd.real:ELF 32-bit LSB
Hi, Matthew Garrett wrote:
The user should be able to choose whether the power
button triggers shutdown or suspend to disk, for instance.
While I do agree that this kind of script is best placed in /etc, this
kind of choice can be configured by a normal /etc/acpid.conf that's read
by the
On Aug 01, David Z Maze [EMAIL PROTECTED] wrote:
Is this script that gets run when the console user presses the power
button, and is it obvious that the user could potentially want to
configure it? If so, then it makes sense that it should be a
configuration file, and so by policy 10.7.2 it
On Fri, 2003-08-01 at 14:58, Pierre THIERRY wrote:
I think at least the RCness of this bug is rather dubious, frankly. If
the script is configuration
I don't think the script is meant to be edited... So it should be in
/usr/sbin.
I've edited it, and I'd bet I'm not the only one who has
Tags: patch
I've edited it, and I'd bet I'm not the only one who has a
dog/cat/turtle/etc who keeps knocking the power button, resulting in a
change to scheduling a shutdown in 1 minutes time :)
I think a very good coded script should use a config file in /etc. But
maybe it's a purist
On Sat, 2003-08-02 at 03:05, Pierre THIERRY wrote:
Tags: patch
You forgot to attach it :-)
I've edited it, and I'd bet I'm not the only one who has a
dog/cat/turtle/etc who keeps knocking the power button, resulting in a
change to scheduling a shutdown in 1 minutes time :)
I think a
Tags: patch
You forgot to attach it :-)
Shit. And the BTS doesn't seem to have noticed the patch tag...
Event-handling from cardmgr, hotplug, usbmgr, acpid, apmd etc. are
really useful to be able to be customised by power users.
I think I'm something like a power user, and I hate having to
On Sat, 2003-08-02 at 03:38, Pierre THIERRY wrote:
Tags: patch
You forgot to attach it :-)
Shit. And the BTS doesn't seem to have noticed the patch tag...
You meant to put tags 203588 patch, thanks and Bcc
[EMAIL PROTECTED], didn't you? :-)
Event-handling from cardmgr, hotplug,
18 matches
Mail list logo