[Linux] Use env pkill instead of pkill for systemd service commands
This commit is contained in:
parent
9d5664bd1e
commit
cfa2861f3e
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user