From 2cb7966374c8deed016216e3fb1e8243993e5b37 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 31 May 2018 13:16:48 -0700 Subject: [PATCH] [Linux] Use /usr/bin/env to start user services --- dotfiles/config/systemd/user/compton.service | 4 ++-- dotfiles/config/systemd/user/imwheel.service | 2 +- dotfiles/config/systemd/user/nm-applet.service | 2 +- dotfiles/config/systemd/user/volnoti.service | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dotfiles/config/systemd/user/compton.service b/dotfiles/config/systemd/user/compton.service index 55be46b1..d91a1c42 100644 --- a/dotfiles/config/systemd/user/compton.service +++ b/dotfiles/config/systemd/user/compton.service @@ -3,8 +3,8 @@ Description=compton [Service] Type=simple -ExecStart=/usr/bin/compton -cC -ExecStop=/usr/bin/pkill compton +ExecStart=/usr/bin/env compton -cC +ExecStop=/usr/bin/env pkill compton [Install] WantedBy=wm.target diff --git a/dotfiles/config/systemd/user/imwheel.service b/dotfiles/config/systemd/user/imwheel.service index 996e7a56..1dc8134f 100644 --- a/dotfiles/config/systemd/user/imwheel.service +++ b/dotfiles/config/systemd/user/imwheel.service @@ -3,7 +3,7 @@ Description=imwheel [Service] Type=simple -ExecStart=/usr/bin/imwheel -b 45 +ExecStart=/usr/bin/env imwheel -b 45 ExecStop=/usr/bin/pkill imwheel RemainAfterExit=yes diff --git a/dotfiles/config/systemd/user/nm-applet.service b/dotfiles/config/systemd/user/nm-applet.service index e72ede87..4d2b56ef 100644 --- a/dotfiles/config/systemd/user/nm-applet.service +++ b/dotfiles/config/systemd/user/nm-applet.service @@ -5,7 +5,7 @@ After=status-notifier-watcher.service [Service] Type=simple -ExecStart=/usr/bin/nm-applet --sm-disable --indicator +ExecStart=/usr/bin/env nm-applet --sm-disable --indicator ExecStop=/usr/bin/pkill nm-applet [Install] diff --git a/dotfiles/config/systemd/user/volnoti.service b/dotfiles/config/systemd/user/volnoti.service index d9f87563..19fb8c40 100644 --- a/dotfiles/config/systemd/user/volnoti.service +++ b/dotfiles/config/systemd/user/volnoti.service @@ -3,7 +3,7 @@ Description=volnoti [Service] Type=simple -ExecStart=/usr/bin/volnoti -n -v +ExecStart=/usr/bin/env volnoti -n -v ExecStop=/usr/bin/pkill volnoti [Install]