Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2017-03-12 04:34:19 +03:00
parent d5c0a30b96
commit 9cee7a058e

View File

@ -45,6 +45,8 @@ args=$@
[[ "$args" ]] && printf 'service_args=( %s )\n' "${service_args[*]}" [[ "$args" ]] && printf 'service_args=( %s )\n' "${service_args[*]}"
} > "$workdir/$service_name" } > "$workdir/$service_name"
(( edit )) && "$EDITOR" "$workdir/$service_name" || exit 3 (( flag_edit )) && {
"$EDITOR" "$workdir/$service_name" || exit 3
}
(( flag_start )) && ssm "$workdir/$service_name" start (( flag_start )) && ssm "$workdir/$service_name" start