Merge pull request #49736 from nh2/glusterfs-service-simple-unit-no-forking
glusterfs service: Switch to simple unit instead of forking
commit231e67175809816cbcd2f7bcebb8f317b7f7dd4b
authorLinus Heckemann <git@sphalerite.org>
dateWed 14 Nov 2018, 12:35 (8 years ago)
parent6f607b892f40ba
nixos/modules/services/network-filesystems/glusterfs.nix+1−3
@@ -176,10 +176,8 @@ in
176176 '';
177177
178178 serviceConfig = {
179− Type="forking";
180− PIDFile="/run/glusterd.pid";
181179 LimitNOFILE=65536;
182− ExecStart="${glusterfs}/sbin/glusterd -p /run/glusterd.pid --log-level=${cfg.logLevel} ${toString cfg.extraFlags}";
180+ ExecStart="${glusterfs}/sbin/glusterd --no-daemon --log-level=${cfg.logLevel} ${toString cfg.extraFlags}";
183181 KillMode=cfg.killMode;
184182 TimeoutStopSec=cfg.stopKillTimeout;
185183 };