forked from mirrors/nixpkgs
samba: Use startup notification
This ensures synchronous unit start.
This commit is contained in:
parent
3b89a6e020
commit
e993506d4c
|
@ -56,6 +56,7 @@ let
|
|||
serviceConfig = {
|
||||
ExecStart = "${samba}/sbin/${appName} ${args}";
|
||||
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
||||
Type = "notify";
|
||||
};
|
||||
|
||||
restartTriggers = [ configFile ];
|
||||
|
|
Loading…
Reference in a new issue