[Linux] Use pkill from env in systemd ExecStop values
This commit is contained in:
parent
52d54d1ca9
commit
1751f6c2bd
@ -6,7 +6,7 @@ After=taffybar.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/env lxqt-powermanagement
|
ExecStart=/usr/bin/env lxqt-powermanagement
|
||||||
ExecStop=/usr/bin/pkill lxqt-powermanagement
|
ExecStop=/usr/bin/env pkill lxqt-powermanagement
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=wm.target
|
WantedBy=wm.target
|
||||||
|
@ -6,7 +6,7 @@ After=status-notifier-watcher.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/env nm-applet --sm-disable --indicator
|
ExecStart=/usr/bin/env nm-applet --sm-disable --indicator
|
||||||
ExecStop=/usr/bin/pkill nm-applet
|
ExecStop=/usr/bin/env pkill nm-applet
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=wm.target
|
WantedBy=wm.target
|
||||||
|
@ -4,7 +4,6 @@ Description=wallpaper
|
|||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/bin/env wallpaper.sh
|
ExecStart=/usr/bin/env wallpaper.sh
|
||||||
ExecStop=/usr/bin/pkill wallpaper.sh
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=wm.target
|
WantedBy=wm.target
|
||||||
|
Loading…
Reference in New Issue
Block a user