sftpgo: fix systemd after/wants typo

This commit is contained in:
Colin 2023-12-12 02:14:45 +00:00
parent 69bc219efa
commit e87d2f545c

View File

@ -172,13 +172,15 @@ in
users.users.sftpgo.extraGroups = [ "export" ];
systemd.services.sftpgo.serviceConfig = {
ReadOnlyPaths = [ "/var/export" ];
ReadWritePaths = [ "/var/export/playground" ];
systemd.services.sftpgo = {
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
serviceConfig = {
ReadOnlyPaths = [ "/var/export" ];
ReadWritePaths = [ "/var/export/playground" ];
Restart = "always";
RestartSec = "20s";
Restart = "always";
RestartSec = "20s";
};
};
}