From d5394ae954c24bc6558508ed8fe0f554ea848a80 Mon Sep 17 00:00:00 2001 From: Jiri Skala Date: Sep 10 2010 13:35:36 +0000 Subject: * Fri Sep 03 2010 Jiri Skala - 2.0.5-3 - fixed #629740 - acpid doesn't fork, but systemd unit file claims otherwise --- diff --git a/acpid.service b/acpid.service index 4b2dbed..937e8fd 100644 --- a/acpid.service +++ b/acpid.service @@ -2,9 +2,16 @@ Description=ACPI Event Daemon After=syslog.target +# This could probably benefit from socket activation, but honestly I think it +# is time for acpid to go away, and hence I am not planning to spend the time +# to add socket activation here. We use Type=forking to ensure that the +# communication sockets are in place before boot proceeds with any service +# needing this service. Would acpid support socket activation we could use +# Type=simple here. + [Service] -Type=simple -ExecStart=/usr/sbin/acpid -f +Type=forking +ExecStart=/usr/sbin/acpid [Install] WantedBy=multi-user.target