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