exit 0 on service down even if no outputs to delete
This commit is contained in:
parent
e5223f093f
commit
c8b2d58dd3
1 changed files with 1 additions and 2 deletions
|
@ -18,8 +18,7 @@ let
|
||||||
${commands}
|
${commands}
|
||||||
'';
|
'';
|
||||||
cleanupScript = name : ''
|
cleanupScript = name : ''
|
||||||
#!/bin/sh
|
if test -d ${prefix}/${name} ; then rm -rf ${prefix}/${name} ; fi
|
||||||
test -d ${prefix}/${name} && rm -rf ${prefix}/${name}
|
|
||||||
'';
|
'';
|
||||||
service = {
|
service = {
|
||||||
name
|
name
|
||||||
|
|
Loading…
Reference in a new issue