mirror of
https://github.com/linuxserver/docker-nextcloud.git
synced 2026-02-19 23:03:50 +08:00
commit
25f011ff6d
@ -2,7 +2,7 @@
|
||||
|
||||
## Set alias for occ and make executable
|
||||
[[ ! -f /usr/bin/occ ]] && \
|
||||
echo -e '#!/bin/bash\nsudo -u abc php7 /config/www/nextcloud/occ' > /usr/bin/occ
|
||||
echo -e '#!/bin/bash\nsudo -u abc -s /bin/bash -c "php7 /config/www/nextcloud/occ $*"' > /usr/bin/occ
|
||||
|
||||
[[ ! -x /usr/bin/occ ]] && \
|
||||
chmod +x /usr/bin/occ
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user