add usage to boxweb script
This commit is contained in:
@@ -22,7 +22,11 @@ frappy() {
|
||||
}
|
||||
|
||||
boxweb() {
|
||||
sudo systemctl $1 boxweb
|
||||
if [[ -z "$1" ]]; then
|
||||
echo "Usage: boxweb status|start|stop|restart"
|
||||
else
|
||||
sudo systemctl $1 boxweb
|
||||
fi
|
||||
}
|
||||
|
||||
gitea_git() (
|
||||
|
||||
Reference in New Issue
Block a user