From 1751f6c2bd8cfc0cb23dc4b832cdf0a02428a84b Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 5 Sep 2018 11:56:50 -0700 Subject: [PATCH] [Linux] Use pkill from env in systemd ExecStop values --- dotfiles/config/systemd/user/lxqt-powermanagement.service | 2 +- dotfiles/config/systemd/user/nm-applet.service | 2 +- dotfiles/config/systemd/user/wallpaper.service | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dotfiles/config/systemd/user/lxqt-powermanagement.service b/dotfiles/config/systemd/user/lxqt-powermanagement.service index 936571c0..b6c533ef 100644 --- a/dotfiles/config/systemd/user/lxqt-powermanagement.service +++ b/dotfiles/config/systemd/user/lxqt-powermanagement.service @@ -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 diff --git a/dotfiles/config/systemd/user/nm-applet.service b/dotfiles/config/systemd/user/nm-applet.service index 4d2b56ef..e1ebc0be 100644 --- a/dotfiles/config/systemd/user/nm-applet.service +++ b/dotfiles/config/systemd/user/nm-applet.service @@ -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 diff --git a/dotfiles/config/systemd/user/wallpaper.service b/dotfiles/config/systemd/user/wallpaper.service index 99cf9253..967bc768 100644 --- a/dotfiles/config/systemd/user/wallpaper.service +++ b/dotfiles/config/systemd/user/wallpaper.service @@ -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