Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Swarsel committed Oct 5, 2024
1 parent a106566 commit e8c05f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions SwarselSystems.org
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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";
Expand Down
6 changes: 3 additions & 3 deletions profiles/server/common/transmission.nix
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@

services."restart-pia-monthly" = {
script = ''
sudo systemctl restart pia-pf.service
systemctl restart pia-pf.service
'';
serviceConfig = {
Type = "oneshot";
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit e8c05f5

Please sign in to comment.