tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
xrdp: do not restart xrdp-sesman on nixos-rebuild
Volth
8 years ago
830669ca
beff1984
+2
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
networking
xrdp.nix
+2
nixos/modules/services/networking/xrdp.nix
···
133
133
wantedBy = [ "multi-user.target" ];
134
134
after = [ "network.target" ];
135
135
description = "xrdp session manager";
136
136
+
restartIfChanged = false; # do not restart on "nixos-rebuild switch". like "display-manager", it can have many interactive programs as children
136
137
serviceConfig = {
137
138
ExecStart = "${cfg.package}/bin/xrdp-sesman --nodaemon --config ${confDir}/sesman.ini";
139
139
+
ExecStop = "${pkgs.coreutils}/bin/kill -INT $MAINPID";
138
140
};
139
141
};
140
142