[Linux] Use pkill from env in systemd ExecStop values

This commit is contained in:
Ivan Malison 2018-09-05 11:56:50 -07:00
parent 52d54d1ca9
commit 1751f6c2bd
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
3 changed files with 2 additions and 3 deletions

View File

@ -6,7 +6,7 @@ After=taffybar.service
[Service]
Type=simple
ExecStart=/usr/bin/env lxqt-powermanagement
ExecStop=/usr/bin/pkill lxqt-powermanagement
ExecStop=/usr/bin/env pkill lxqt-powermanagement
[Install]
WantedBy=wm.target

View File

@ -6,7 +6,7 @@ After=status-notifier-watcher.service
[Service]
Type=simple
ExecStart=/usr/bin/env nm-applet --sm-disable --indicator
ExecStop=/usr/bin/pkill nm-applet
ExecStop=/usr/bin/env pkill nm-applet
[Install]
WantedBy=wm.target

View File

@ -4,7 +4,6 @@ Description=wallpaper
[Service]
Type=oneshot
ExecStart=/usr/bin/env wallpaper.sh
ExecStop=/usr/bin/pkill wallpaper.sh
[Install]
WantedBy=wm.target