Commit | Line | Data |
---|---|---|
05806b3f | 1 | # copy to /etc/systemd/system/ (at least on Arch Linux) |
eb690e73 AB |
2 | |
3 | [Unit] | |
4 | Description=Load/Save Screen Backlight Brightness of backlight:mba6x_backlight | |
5 | DefaultDependencies=no | |
6 | RequiresMountsFor=/var/lib/systemd/backlight | |
7 | Conflicts=shutdown.target | |
8 | After=systemd-remount-fs.service | |
9 | Before=sysinit.target shutdown.target | |
10 | ||
11 | [Service] | |
12 | Type=oneshot | |
13 | RemainAfterExit=yes | |
14 | ExecStart=/usr/lib/systemd/systemd-backlight load backlight:mba6x_backlight | |
15 | ExecStop=/usr/lib/systemd/systemd-backlight save backlight:mba6x_backlight | |
16 | ||
17 | [Install] | |
18 | WantedBy=multi-user.target |