summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-04-04 10:58:41 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-04-04 10:58:41 +0000
commitc5ee3e00a8a0ae93618decdaf1a9e321c835d9af (patch)
tree7f8a0b8908fd7ff62ba250a8607d2d5a4a7e7cab /sys-power/acpid/files
parentfix detection of libavcodec 54 (diff)
downloadhistorical-c5ee3e00a8a0ae93618decdaf1a9e321c835d9af.tar.gz
historical-c5ee3e00a8a0ae93618decdaf1a9e321c835d9af.tar.bz2
historical-c5ee3e00a8a0ae93618decdaf1a9e321c835d9af.zip
sync the systemd files with original author, which just happens to be archlinux in this case. this means /etc/conf.d/acpid is now ignored. read ChangeLog for details
Package-Manager: portage-2.2.0_alpha170/cvs/Linux x86_64 Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'sys-power/acpid/files')
-rw-r--r--sys-power/acpid/files/systemd/acpid.service9
-rw-r--r--sys-power/acpid/files/systemd/acpid.socket4
2 files changed, 8 insertions, 5 deletions
diff --git a/sys-power/acpid/files/systemd/acpid.service b/sys-power/acpid/files/systemd/acpid.service
index a29400948681..e4ddacdbead7 100644
--- a/sys-power/acpid/files/systemd/acpid.service
+++ b/sys-power/acpid/files/systemd/acpid.service
@@ -1,7 +1,10 @@
[Unit]
-Description=ACPI Event Daemon
+Description=ACPI event daemon
Requires=acpid.socket
[Service]
-EnvironmentFile=-/etc/conf.d/acpid
-ExecStart=/usr/sbin/acpid -f $ACPID_ARGS
+ExecStart=/usr/sbin/acpid -f
+
+[Install]
+WantedBy=multi-user.target
+Also=acpid.socket
diff --git a/sys-power/acpid/files/systemd/acpid.socket b/sys-power/acpid/files/systemd/acpid.socket
index 5fa2e027de8a..1b23f8735d48 100644
--- a/sys-power/acpid/files/systemd/acpid.socket
+++ b/sys-power/acpid/files/systemd/acpid.socket
@@ -1,8 +1,8 @@
[Unit]
-Description=ACPI Event Daemon Listen Socket
+Description=ACPID Listen Socket
[Socket]
-ListenStream=/run/acpid.socket
+ListenStream=/var/run/acpid.socket
[Install]
WantedBy=sockets.target