summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorAdam Dinwoodie <adam@dinwoodie.org>2024-10-02 19:27:19 +0100
committerAdam Dinwoodie <adam@dinwoodie.org>2024-10-02 19:36:48 +0100
commit2a15702bc8761ae7e0cdbf30ed180f96a8607023 (patch)
tree1a648d4b2bb7efca057c5e43d13532ab0feda195 /pkgs/development/python-modules/rangehttpserver
parentbc63f402fdf4ad861b18746174d4e1fd37fcc4b0 (diff)
nixos/openvpn: don't fail to restart stopped units
The current OpenVPN restart-after-sleep script will return a non-zero exit code if the system resumes from sleep and there are no active OpenVPN units, resulting in systemd reporting the system as degraded. Avoid that by only attempting to restart OpenVPN programs that are actually running at the time. This also means that any user-managed OpenVPN sessions won't be affected by NixOS's OpenVPN handling.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions