Fix deamon typo

This commit is contained in:
Emery Hemingway 2023-11-28 12:41:57 +02:00
parent 72dc3c41cc
commit 28a81b94f9
2 changed files with 3 additions and 6 deletions

View File

@ -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}" ]>>
''))
+ ''

View File

@ -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