7 lines
172 B
Bash
7 lines
172 B
Bash
#!/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
|