mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
fixup svd: support dry-run
This commit is contained in:
parent
42b95bd00f
commit
06d245c0af
1 changed files with 2 additions and 2 deletions
|
|
@ -179,10 +179,10 @@ in {
|
|||
build.activationAfter.reloadSupervisord = ''
|
||||
if [ ! -e "${config.supervisord.socketPath}" ]; then
|
||||
echo "Starting supervisord..."
|
||||
${cfg.package}/bin/supervisord -c /etc/supervisord.conf
|
||||
$DRY_RUN_CMD ${cfg.package}/bin/supervisord -c /etc/supervisord.conf
|
||||
else
|
||||
echo "Reloading supervisord..."
|
||||
${cfg.package}/bin/supervisorctl -c /etc/supervisord.conf update
|
||||
$DRY_RUN_CMD ${cfg.package}/bin/supervisorctl -c /etc/supervisord.conf update
|
||||
fi
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue