6 lines
144 B
Bash
Executable file
6 lines
144 B
Bash
Executable file
#!/bin/bash
|
|
# $1 ini file, $2 arch
|
|
echo 'restarting gitea after change'
|
|
DIR=$(dirname "$(readlink -f "$0")") || exit
|
|
$DIR/stop
|
|
$DIR/start $1 $2
|