Jenkinsfile and xai cli for nextcloud deployment
This commit is contained in:
8
dockerfiles/services/nextcloud/cli/maintenance
Executable file
8
dockerfiles/services/nextcloud/cli/maintenance
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
switch='--off';
|
||||
if [ "$1" == 'on' ]; then
|
||||
switch='--on'
|
||||
fi
|
||||
|
||||
xai occ maintenance:mode $switch
|
||||
Reference in New Issue
Block a user