/lib/systemd/system/laptop-mode.service is in laptop-mode-tools 1.66-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | [Unit]
Description=Laptop Mode Tools
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/sbin/laptop_mode init auto
ExecStop=/usr/sbin/laptop_mode init stop
ExecStopPost=/bin/rm -f /var/run/laptop-mode-tools/enabled
StandardOutput=tty
StandardError=tty
[Install]
WantedBy=multi-user.target
|