mirror of
https://github.com/EV21/uberspace-helper.git
synced 2026-10-07 20:33:18 +02:00
feat(Nextcloud): use exec for ncc wrapper
This commit is contained in:
1 file changed
+2
-2
@@ -252,9 +252,9 @@ end_of_content
|
|||||||
function install_ncc
|
function install_ncc
|
||||||
{
|
{
|
||||||
touch ~/bin/ncc
|
touch ~/bin/ncc
|
||||||
cat << 'end_of_content' > ~/bin/ncc
|
cat << end_of_content > ~/bin/ncc
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
php ~/html/occ "$@"
|
exec php /var/www/virtual/\$USER/html/occ "\$@"
|
||||||
end_of_content
|
end_of_content
|
||||||
chmod u+x ~/bin/ncc
|
chmod u+x ~/bin/ncc
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user