]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - acpid/systemd/acpid.service
Move all packages to root.
[people/pmueller/ipfire-3.x.git] / acpid / systemd / acpid.service
diff --git a/acpid/systemd/acpid.service b/acpid/systemd/acpid.service
new file mode 100644 (file)
index 0000000..553b3e2
--- /dev/null
@@ -0,0 +1,18 @@
+[Unit]
+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=forking
+EnvironmentFile=/etc/sysconfig/acpid
+ExecStart=/usr/sbin/acpid $OPTIONS
+
+[Install]
+WantedBy=multi-user.target