Merge pull request #49736 from nh2/glusterfs-service-simple-unit-no-forking
glusterfs service: Switch to simple unit instead of forking
This commit is contained in:
commit
231e671758
|
@ -176,10 +176,8 @@ in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type="forking";
|
|
||||||
PIDFile="/run/glusterd.pid";
|
|
||||||
LimitNOFILE=65536;
|
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;
|
KillMode=cfg.killMode;
|
||||||
TimeoutStopSec=cfg.stopKillTimeout;
|
TimeoutStopSec=cfg.stopKillTimeout;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue