summarylogtreecommitdiffstats
path: root/initscript_systemd
blob: 6be39bb8ea5379c118d5941043456e4fee44d638 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# fix wakeup triggers to stay asleep on GPD Win Max 2 systemd init script.

[Unit]
Description=Switching off GPD Win Max 2 (2023) sleep inhibiting wakeup triggers
Wants=systemd-udev-settle.service
After=systemd-udev-settle.service
Wants=systemd-modules-load.service
After=systemd-modules-load.service

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/gpd-winmax2_2023-fix-sleep-wakeuptriggers start
ExecStop=/usr/bin/gpd-winmax2_2023-fix-sleep-wakeuptriggers stop

[Install]
WantedBy=multi-user.target