[Linux] Use /usr/bin/env to start user services

This commit is contained in:
Ivan Malison 2018-05-31 13:16:48 -07:00
parent 0a2f736476
commit 2cb7966374
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
4 changed files with 5 additions and 5 deletions

View File

@ -3,8 +3,8 @@ Description=compton
[Service] [Service]
Type=simple Type=simple
ExecStart=/usr/bin/compton -cC ExecStart=/usr/bin/env compton -cC
ExecStop=/usr/bin/pkill compton ExecStop=/usr/bin/env pkill compton
[Install] [Install]
WantedBy=wm.target WantedBy=wm.target

View File

@ -3,7 +3,7 @@ Description=imwheel
[Service] [Service]
Type=simple Type=simple
ExecStart=/usr/bin/imwheel -b 45 ExecStart=/usr/bin/env imwheel -b 45
ExecStop=/usr/bin/pkill imwheel ExecStop=/usr/bin/pkill imwheel
RemainAfterExit=yes RemainAfterExit=yes

View File

@ -5,7 +5,7 @@ After=status-notifier-watcher.service
[Service] [Service]
Type=simple 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 ExecStop=/usr/bin/pkill nm-applet
[Install] [Install]

View File

@ -3,7 +3,7 @@ Description=volnoti
[Service] [Service]
Type=simple Type=simple
ExecStart=/usr/bin/volnoti -n -v ExecStart=/usr/bin/env volnoti -n -v
ExecStop=/usr/bin/pkill volnoti ExecStop=/usr/bin/pkill volnoti
[Install] [Install]