[Linux] Use env pkill instead of pkill for systemd service commands

This commit is contained in:
Ivan Malison 2019-01-01 09:33:38 -08:00
parent 9d5664bd1e
commit cfa2861f3e
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
9 changed files with 9 additions and 9 deletions

View File

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

View File

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

View File

@ -6,7 +6,7 @@ After=taffybar.service
[Service] [Service]
Type=simple Type=simple
ExecStart=/usr/bin/env notifications-tray-icon --github-token-pass github-token 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] [Install]
WantedBy=wm.target WantedBy=wm.target

View File

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

View File

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

View File

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

View File

@ -4,7 +4,7 @@ Description=status-notifier-watcher
[Service] [Service]
Type=simple Type=simple
ExecStart=/usr/bin/env status-notifier-watcher ExecStart=/usr/bin/env status-notifier-watcher
ExecStop=/usr/bin/pkill status-notifier-watcher ExecStop=/usr/bin/env pkill status-notifier-watcher
[Install] [Install]
WantedBy=wm.target WantedBy=wm.target

View File

@ -4,7 +4,7 @@ Description=volnoti
[Service] [Service]
Type=simple Type=simple
ExecStart=/usr/bin/env volnoti -n -v ExecStart=/usr/bin/env volnoti -n -v
ExecStop=/usr/bin/pkill volnoti ExecStop=/usr/bin/env pkill volnoti
[Install] [Install]
WantedBy=wm.target WantedBy=wm.target

View File

@ -3,7 +3,7 @@ Description=X Settings Daemon
[Service] [Service]
ExecStart=/usr/bin/env xsettingsd-setup ExecStart=/usr/bin/env xsettingsd-setup
ExecStop=/usr/bin/pkill xsettingsd ExecStop=/usr/bin/env pkill xsettingsd
[Install] [Install]
WantedBy=wm.target WantedBy=wm.target