add usage to boxweb script
This commit is contained in:
1 parent
63373404e6
commit
2e5e3c8cae
1 file changed
+5
-1
@@ -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