Fix start argument by default issue
This commit is contained in:
+6
-1
@@ -19,7 +19,12 @@ beamPackages.mixRelease rec {
|
||||
export RELEASE_DISTRIBUTION=none
|
||||
export RELEASE_NODE=nonode@nohost
|
||||
export RELEASE_COOKIE=dummy_cookie_for_single_node
|
||||
exec "$out/bin/.systant-wrapped" "\$@"
|
||||
# Default to "start" command if no arguments provided
|
||||
if [ \$# -eq 0 ]; then
|
||||
exec "$out/bin/.systant-wrapped" start
|
||||
else
|
||||
exec "$out/bin/.systant-wrapped" "\$@"
|
||||
fi
|
||||
EOF
|
||||
chmod +x $out/bin/systant
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user