From e8c05f5b700109121bc4cc7cbf1493e448cd3e53 Mon Sep 17 00:00:00 2001 From: Swarsel Date: Sat, 5 Oct 2024 16:55:39 +0200 Subject: [PATCH] debug --- SwarselSystems.org | 6 +++--- profiles/server/common/transmission.nix | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/SwarselSystems.org b/SwarselSystems.org index ed59f07d..6542d739 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -7716,7 +7716,7 @@ Also, the system state version is set here. No need to touch it. services."restart-pia-monthly" = { script = '' - sudo systemctl restart pia-pf.service + systemctl restart pia-pf.service ''; serviceConfig = { Type = "oneshot"; @@ -7754,8 +7754,8 @@ Also, the system state version is set here. No need to touch it. services."hourly-services" = { script = '' - sudo -u vpn -i -- curl -c /opt/persists/mam.cookies -b /opt/persists/mam.cookies - sudo /etc/openvpn/iptables.sh + ${pkgs.sudo}/bin/sudo -u vpn -i -- ${pkgs.curl}/bin/curl -c /opt/persists/mam.cookies -b /opt/persists/mam.cookies + ${pkgs.sudo}/bin/sudo /etc/openvpn/iptables.sh ''; serviceConfig = { Type = "oneshot"; diff --git a/profiles/server/common/transmission.nix b/profiles/server/common/transmission.nix index 4a8e98a5..97a4d428 100644 --- a/profiles/server/common/transmission.nix +++ b/profiles/server/common/transmission.nix @@ -141,7 +141,7 @@ services."restart-pia-monthly" = { script = '' - sudo systemctl restart pia-pf.service + systemctl restart pia-pf.service ''; serviceConfig = { Type = "oneshot"; @@ -179,8 +179,8 @@ services."hourly-services" = { script = '' - sudo -u vpn -i -- curl -c /opt/persists/mam.cookies -b /opt/persists/mam.cookies - sudo /etc/openvpn/iptables.sh + ${pkgs.sudo}/bin/sudo -u vpn -i -- ${pkgs.curl}/bin/curl -c /opt/persists/mam.cookies -b /opt/persists/mam.cookies + ${pkgs.sudo}/bin/sudo /etc/openvpn/iptables.sh ''; serviceConfig = { Type = "oneshot";