Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #49736 from nh2/glusterfs-service-simple-unit-no-f…
Browse files Browse the repository at this point in the history
…orking

glusterfs service: Switch to simple unit instead of forking
  • Loading branch information
lheckemann committed Nov 14, 2018
2 parents 6f607b8 + 92f40ba commit 231e671
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nixos/modules/services/network-filesystems/glusterfs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,8 @@ in
'';

serviceConfig = {
Type="forking";
PIDFile="/run/glusterd.pid";
LimitNOFILE=65536;
ExecStart="${glusterfs}/sbin/glusterd -p /run/glusterd.pid --log-level=${cfg.logLevel} ${toString cfg.extraFlags}";
ExecStart="${glusterfs}/sbin/glusterd --no-daemon --log-level=${cfg.logLevel} ${toString cfg.extraFlags}";
KillMode=cfg.killMode;
TimeoutStopSec=cfg.stopKillTimeout;
};
Expand Down

0 comments on commit 231e671

Please sign in to comment.