fun with exec
This commit is contained in:
parent
e55cc75e67
commit
54e0bd55b4
7 changed files with 7 additions and 7 deletions
|
@ -54,7 +54,7 @@ getRestartR = page "Restarting" Nothing $ do
|
|||
error "restart failed"
|
||||
$(widgetFile "control/restarting")
|
||||
where
|
||||
restartcommand program = program ++ " assistant --stop; " ++
|
||||
restartcommand program = program ++ " assistant --stop; exec " ++
|
||||
program ++ " webapp"
|
||||
|
||||
getRestartThreadR :: ThreadName -> Handler ()
|
||||
|
|
|
@ -22,4 +22,4 @@ if [ -e "$base/bin/git-annex" ]; then
|
|||
export GIT_ANNEX_APP_BASE
|
||||
fi
|
||||
|
||||
"$base/runshell" git-annex "$@"
|
||||
exec "$base/runshell" git-annex "$@"
|
||||
|
|
|
@ -22,4 +22,4 @@ if [ -e "$base/bin/git-annex" ]; then
|
|||
export GIT_ANNEX_APP_BASE
|
||||
fi
|
||||
|
||||
"$base/runshell" git-annex-shell "$@"
|
||||
exec "$base/runshell" git-annex-shell "$@"
|
||||
|
|
|
@ -22,4 +22,4 @@ if [ -e "$base/bin/git-annex" ]; then
|
|||
export GIT_ANNEX_APP_BASE
|
||||
fi
|
||||
|
||||
"$base/runshell" git-annex webapp "$@"
|
||||
exec "$base/runshell" git-annex webapp "$@"
|
||||
|
|
|
@ -22,4 +22,4 @@ if [ -e "$base/git-annex" ]; then
|
|||
export GIT_ANNEX_APP_BASE
|
||||
fi
|
||||
|
||||
"$base/runshell" git-annex "$@"
|
||||
exec "$base/runshell" git-annex "$@"
|
||||
|
|
|
@ -22,4 +22,4 @@ if [ -e "$base/git-annex" ]; then
|
|||
export GIT_ANNEX_APP_BASE
|
||||
fi
|
||||
|
||||
"$base/runshell" git-annex-shell "$@"
|
||||
exec "$base/runshell" git-annex-shell "$@"
|
||||
|
|
|
@ -22,4 +22,4 @@ if [ -e "$base/git-annex" ]; then
|
|||
export GIT_ANNEX_APP_BASE
|
||||
fi
|
||||
|
||||
"$base/runshell" git-annex webapp "$@"
|
||||
exec "$base/runshell" git-annex webapp "$@"
|
||||
|
|
Loading…
Reference in a new issue