[Unit] Description=Laptop_mode_tools scripts After=acpid.service local-fs.target [Service] Type=oneshot ExecStart=/usr/bin/touch /var/run/laptop-mode-tools/enabled ExecStart=/usr/sbin/laptop_mode auto ExecStop=/bin/rm /var/run/laptop-mode-tools/enabled ; /usr/sbin/laptop_mode auto RemainAfterExit=yes [Install] WantedBy=multi-user.target