Fix deamon typo
This commit is contained in:
parent
72dc3c41cc
commit
28a81b94f9
|
@ -50,10 +50,7 @@ in writeTextFile {
|
|||
'';
|
||||
in ''
|
||||
<depends-on ${serviceName} <service-state <daemon ${initializeName}> complete>>
|
||||
<deamon ${initializeName} {
|
||||
argv: [ "${script}" ]
|
||||
restart: on-error
|
||||
}>
|
||||
<daemon ${initializeName} <one-shot [ "${script}" ]>>
|
||||
''))
|
||||
|
||||
+ ''
|
||||
|
|
|
@ -8,10 +8,10 @@ let
|
|||
generatedTargetSpecificArgs = {
|
||||
inherit name description environment directory dependencies initialize;
|
||||
|
||||
argv = if foregroundProcess != null then
|
||||
argv = map toString (if foregroundProcess != null then
|
||||
[ foregroundProcess ] ++ foregroundProcessArgs
|
||||
else
|
||||
[ "${undaemonize}/bin/undaemonize" daemon ] ++ daemonArgs;
|
||||
[ "${undaemonize}/bin/undaemonize" daemon ] ++ daemonArgs);
|
||||
};
|
||||
|
||||
targetSpecificArgs = if builtins.isFunction overrides then
|
||||
|
|
Loading…
Reference in New Issue