fix: rsyncd having port issues
This commit is contained in:
parent
6f9054f69b
commit
f8975e0896
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,6 @@
|
|||
server = {
|
||||
rsync-daemon = {
|
||||
enable = true;
|
||||
port = 9523;
|
||||
openFirewall = true;
|
||||
location = "/mnt/backups";
|
||||
address = "100.64.0.6";
|
||||
|
|
|
@ -26,7 +26,7 @@ in
|
|||
default = false;
|
||||
description = "Whether to open the firewall";
|
||||
};
|
||||
port = mkPortOption 9523 "rsyncd";
|
||||
port = mkPortOption 873 "rsyncd";
|
||||
address = mkOption {
|
||||
type = nonEmptyStr;
|
||||
default = "0.0.0.0";
|
||||
|
@ -80,6 +80,7 @@ in
|
|||
|
||||
modules.fixes.services.rsyncd = {
|
||||
enable = true;
|
||||
inherit (cfg) port;
|
||||
socketActivated = true;
|
||||
settings = {
|
||||
globalSection = {
|
||||
|
|
Loading…
Add table
Reference in a new issue