fix workout tracker url

This commit is contained in:
Joakim Repomaa
2025-02-08 22:52:51 +02:00
parent 7d63777170
commit f81f8b2a47
2 changed files with 13 additions and 4 deletions

View File

@@ -31,7 +31,16 @@ in
ExecStart = "${workout-sync}/bin/workout-sync";
Restart = "always";
DynamicUser = true;
EnvironmentFile = "/var/secrets/workout-sync.env";
BindReadOnlyPaths = [
/run/systemd/resolve/stub-resolv.conf
/etc/ssl
/etc/static/ssl
/etc/resolv.conf
/etc/static/resolv.conf
/etc/nsswitch.conf
/etc/static/nsswitch.conf
/etc/hosts
];
};
wantedBy = [ "multi-user.target" ];
confinement.enable = true;