From cfa2861f3e1f20a6144d800c8b70f8ae4a1404e5 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 1 Jan 2019 09:33:38 -0800 Subject: [PATCH] [Linux] Use env pkill instead of pkill for systemd service commands --- dotfiles/config/systemd/user/alarm-clock.service | 2 +- dotfiles/config/systemd/user/chromix-too.service | 2 +- dotfiles/config/systemd/user/github-notifications.service | 2 +- dotfiles/config/systemd/user/kdeconnect.service | 2 +- dotfiles/config/systemd/user/mopidy.service | 2 +- dotfiles/config/systemd/user/skippy-xd.service | 2 +- dotfiles/config/systemd/user/status-notifier-watcher.service | 2 +- dotfiles/config/systemd/user/volnoti.service | 2 +- dotfiles/config/systemd/user/xsettingsd.service | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dotfiles/config/systemd/user/alarm-clock.service b/dotfiles/config/systemd/user/alarm-clock.service index b4024f67..d7868bd6 100644 --- a/dotfiles/config/systemd/user/alarm-clock.service +++ b/dotfiles/config/systemd/user/alarm-clock.service @@ -6,7 +6,7 @@ After=status-notifier-watcher.service [Service] Type=simple ExecStart=/usr/bin/env alarm-clock-applet -ExecStop=/usr/bin/pkill alarm-clock-applet +ExecStop=/usr/bin/env pkill alarm-clock-applet [Install] WantedBy=wm.target diff --git a/dotfiles/config/systemd/user/chromix-too.service b/dotfiles/config/systemd/user/chromix-too.service index b4f734bd..a38380b7 100644 --- a/dotfiles/config/systemd/user/chromix-too.service +++ b/dotfiles/config/systemd/user/chromix-too.service @@ -6,7 +6,7 @@ After=taffybar.service [Service] Type=simple ExecStart=/usr/bin/env chromix-too-server -ExecStop=/usr/bin/pkill chromix-too +ExecStop=/usr/bin/env pkill chromix-too [Install] WantedBy=wm.target diff --git a/dotfiles/config/systemd/user/github-notifications.service b/dotfiles/config/systemd/user/github-notifications.service index 3f26ee3a..bbf3da89 100644 --- a/dotfiles/config/systemd/user/github-notifications.service +++ b/dotfiles/config/systemd/user/github-notifications.service @@ -6,7 +6,7 @@ After=taffybar.service [Service] Type=simple ExecStart=/usr/bin/env notifications-tray-icon --github-token-pass github-token -ExecStop=/usr/bin/pkill 'notifications-tray-icon --github-token-pass github-token' +ExecStop=/usr/bin/env pkill 'notifications-tray-icon --github-token-pass github-token' [Install] WantedBy=wm.target diff --git a/dotfiles/config/systemd/user/kdeconnect.service b/dotfiles/config/systemd/user/kdeconnect.service index 952e1228..4f84894e 100644 --- a/dotfiles/config/systemd/user/kdeconnect.service +++ b/dotfiles/config/systemd/user/kdeconnect.service @@ -6,7 +6,7 @@ After=taffybar.service [Service] Type=simple ExecStart=/usr/bin/env kdeconnect-indicator -ExecStop=/usr/bin/pkill kdeconnect-indicator +ExecStop=/usr/bin/env pkill kdeconnect-indicator [Install] WantedBy=wm.target diff --git a/dotfiles/config/systemd/user/mopidy.service b/dotfiles/config/systemd/user/mopidy.service index 90889c17..fddfda4d 100644 --- a/dotfiles/config/systemd/user/mopidy.service +++ b/dotfiles/config/systemd/user/mopidy.service @@ -4,7 +4,7 @@ Description=mopidy [Service] Type=simple ExecStart=/usr/bin/env mopidy -ExecStop=/usr/bin/pkill mopidy +ExecStop=/usr/bin/env pkill mopidy [Install] WantedBy=wm.target diff --git a/dotfiles/config/systemd/user/skippy-xd.service b/dotfiles/config/systemd/user/skippy-xd.service index 756216ca..0c7c6cb5 100644 --- a/dotfiles/config/systemd/user/skippy-xd.service +++ b/dotfiles/config/systemd/user/skippy-xd.service @@ -6,7 +6,7 @@ After=taffybar.service [Service] Type=simple ExecStart=/usr/bin/env skippy-xd --start-daemon -ExecStop=/usr/bin/pkill skippy-xd +ExecStop=/usr/bin/env pkill skippy-xd [Install] WantedBy=wm.target diff --git a/dotfiles/config/systemd/user/status-notifier-watcher.service b/dotfiles/config/systemd/user/status-notifier-watcher.service index 82f55017..7a6d6d8f 100644 --- a/dotfiles/config/systemd/user/status-notifier-watcher.service +++ b/dotfiles/config/systemd/user/status-notifier-watcher.service @@ -4,7 +4,7 @@ Description=status-notifier-watcher [Service] Type=simple ExecStart=/usr/bin/env status-notifier-watcher -ExecStop=/usr/bin/pkill status-notifier-watcher +ExecStop=/usr/bin/env pkill status-notifier-watcher [Install] WantedBy=wm.target diff --git a/dotfiles/config/systemd/user/volnoti.service b/dotfiles/config/systemd/user/volnoti.service index 19fb8c40..99fa49e4 100644 --- a/dotfiles/config/systemd/user/volnoti.service +++ b/dotfiles/config/systemd/user/volnoti.service @@ -4,7 +4,7 @@ Description=volnoti [Service] Type=simple ExecStart=/usr/bin/env volnoti -n -v -ExecStop=/usr/bin/pkill volnoti +ExecStop=/usr/bin/env pkill volnoti [Install] WantedBy=wm.target diff --git a/dotfiles/config/systemd/user/xsettingsd.service b/dotfiles/config/systemd/user/xsettingsd.service index 51880449..edb48588 100644 --- a/dotfiles/config/systemd/user/xsettingsd.service +++ b/dotfiles/config/systemd/user/xsettingsd.service @@ -3,7 +3,7 @@ Description=X Settings Daemon [Service] ExecStart=/usr/bin/env xsettingsd-setup -ExecStop=/usr/bin/pkill xsettingsd +ExecStop=/usr/bin/env pkill xsettingsd [Install] WantedBy=wm.target