exit 0 on service down even if no outputs to delete

pull/2/head
Daniel Barlow 2023-11-21 17:25:50 +00:00
parent e5223f093f
commit c8b2d58dd3
1 changed files with 1 additions and 2 deletions

View File

@ -18,8 +18,7 @@ let
${commands}
'';
cleanupScript = name : ''
#!/bin/sh
test -d ${prefix}/${name} && rm -rf ${prefix}/${name}
if test -d ${prefix}/${name} ; then rm -rf ${prefix}/${name} ; fi
'';
service = {
name