|
Jiri Skala |
1f2e7e |
[Unit]
|
|
Jiri Skala |
1f2e7e |
Description=ACPI Event Daemon
|
|
Jiri Skala |
1f2e7e |
After=syslog.target
|
|
Jiri Skala |
1f2e7e |
|
|
Jiri Skala |
1f2e7e |
# This could probably benefit from socket activation, but honestly I think it
|
|
Jiri Skala |
1f2e7e |
# is time for acpid to go away, and hence I am not planning to spend the time
|
|
Jiri Skala |
1f2e7e |
# to add socket activation here. We use Type=forking to ensure that the
|
|
Jiri Skala |
1f2e7e |
# communication sockets are in place before boot proceeds with any service
|
|
Jiri Skala |
1f2e7e |
# needing this service. Would acpid support socket activation we could use
|
|
Jiri Skala |
1f2e7e |
# Type=simple here.
|
|
Jiri Skala |
1f2e7e |
|
|
Jiri Skala |
1f2e7e |
[Service]
|
|
Jiri Skala |
1f2e7e |
Type=forking
|
|
Jiri Skala |
1f8283 |
EnvironmentFile=/etc/sysconfig/acpid
|
|
Jiri Skala |
1f8283 |
ExecStart=/usr/sbin/acpid $OPTIONS
|
|
Jiri Skala |
1f2e7e |
|
|
Jiri Skala |
1f2e7e |
[Install]
|
|
Jiri Skala |
1f2e7e |
WantedBy=multi-user.target
|