Skip to content

Commit

Permalink
hosts (srv-test-2): Start and stop vaultwarden for backup
Browse files Browse the repository at this point in the history
  • Loading branch information
britter committed Jan 9, 2025
1 parent 8ed2ddf commit c916cca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions systems/x86_64-linux/srv-test-2/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
serviceName = "vaultwarden";
host = config.my.homelab.srv-prod-2.ip;
dataDir = "/var/lib/bitwarden_rs";
preCommand = "systemctl stop vaultwarden";
postCommand = "systemctl start vaultwarden";
databaseSync.enable = true;
}
];
Expand Down

0 comments on commit c916cca

Please sign in to comment.