Skip to content

Commit

Permalink
Modify run.sh to add --restart option, for a more consisten use of pa…
Browse files Browse the repository at this point in the history
…rameters
  • Loading branch information
remimarenco committed Mar 11, 2016
1 parent 8423fe7 commit e61e596
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,14 @@ do
stop_daemon_arg_set=1
shift
;;
--daemon|restart)
paster_args="$paster_args $1"
--daemon|--restart|restart)
if [ $1 == "--restart" ]
then
paster_args="$paster_args restart"
else
paster_args="$paster_args $1"
fi

daemon_or_restart_arg_set=1
shift
;;
Expand Down

0 comments on commit e61e596

Please sign in to comment.