data: Tell service when and how to start

This commit is contained in:
Bastien Nocera 2020-09-09 13:00:13 +02:00
parent ea4821c087
commit 27af826a71

View file

@ -1,6 +1,7 @@
[Unit]
Description=Power Profiles daemon
Conflicts=tuned.service tlp.service auto-cpufreq.service
Before=multi-user.target display-manager.target
[Service]
Type=dbus
@ -18,3 +19,6 @@ PrivateTmp=true
RestrictAddressFamilies=AF_UNIX AF_LOCAL AF_NETLINK
MemoryDenyWriteExecute=true
RestrictRealtime=true
[Install]
WantedBy=graphical.target