diff options
| author | MatthewK <matthew@compassfoundation.io> | 2026-10-21 14:29:07 -0400 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-10-29 17:10:59 +0100 |
| commit | 763cbcaea29bacf980032072cb5bbb8ad4b52070 (patch) | |
| tree | 93899d1fa13ef43bb89e1409ec50de94bddb3019 /src | |
| parent | 7f2c8939a27be54237a85a0ab93eff391fa47ec0 (diff) | |
| download | vyos-1x-763cbcaea29bacf980032072cb5bbb8ad4b52070.tar.gz vyos-1x-763cbcaea29bacf980032072cb5bbb8ad4b52070.zip | |
geoip: T9495: fix PATH for geoip cron task
nft binary is located in /usr/sbin. cron default PATH is only "/usr/bin:bin".
Add PATH to cron job to avoid breaking changes in geoip.py
Co-authored-by: Christian Breunig <christian@breunig.cc>
Diffstat (limited to 'src')
| -rw-r--r-- | src/etc/cron.d/vyos-geoip | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etc/cron.d/vyos-geoip b/src/etc/cron.d/vyos-geoip index 27d74ee8b..05e2f056a 100644 --- a/src/etc/cron.d/vyos-geoip +++ b/src/etc/cron.d/vyos-geoip @@ -1 +1,2 @@ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 30 4 * * 1 root sg vyattacfg "/usr/libexec/vyos/geoip-update.py" >/tmp/geoip-update.log 2>&1 |
