tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
rsync service: restart service on configuration change
Nadrieril
8 years ago
94fc613c
541377e5
+1
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
network-filesystems
rsyncd.nix
+1
nixos/modules/services/network-filesystems/rsyncd.nix
···
95
95
systemd.services.rsyncd = {
96
96
description = "Rsync daemon";
97
97
wantedBy = [ "multi-user.target" ];
98
98
+
restartTriggers = [ config.environment.etc."rsyncd.conf".source ];
98
99
serviceConfig.ExecStart = "${pkgs.rsync}/bin/rsync --daemon --no-detach";
99
100
};
100
101