Added the configs
This commit is contained in:
6
config/nextcloud/wrapper
Normal file
6
config/nextcloud/wrapper
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
if [[ $USER == "nextcloud" ]]; then
|
||||
php --define apc.enable_cli=1 /nextcloud/occ $@
|
||||
else
|
||||
sudo -u nextcloud php --define apc.enable_cli=1 /nextcloud/occ $@
|
||||
fi
|
Reference in New Issue
Block a user