diff options
Diffstat (limited to 'windscribe-helper.initd')
| -rwxr-xr-x | windscribe-helper.initd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/windscribe-helper.initd b/windscribe-helper.initd index a2fecdb..4dbfaf6 100755 --- a/windscribe-helper.initd +++ b/windscribe-helper.initd @@ -6,6 +6,10 @@ command="/opt/windscribe/helper" command_background="yes" pidfile="/run/windscribe/helper.pid" +# Upstream systemd unit pins PATH so the scripts run as root resolve their tools +# from distro directories only, never /usr/local/{sbin,bin}. +export PATH="/usr/sbin:/usr/bin:/sbin:/bin" + # Ensure /run/windscribe exists before starting start_stop_daemon_args="--make-pidfile" |