Compare commits

..

No commits in common. "6d582f12a541e41de1ae38cc727b034d574c5307" and "1dcd8d2372b59b57ed05290b823df4145e1168a7" have entirely different histories.

2 changed files with 0 additions and 19 deletions

View File

@ -1,5 +0,0 @@
Make this file executable and save it as /usr/bin/occ
Now whenever you want to use the CLI tool occ, you can do it from anywhere.
Don't forget to set the two variables nextcloudpath and wwwuser

View File

@ -1,14 +0,0 @@
#!/bin/bash
## Make this file executable and save it as /usr/bin/occ
## Now whenever you want to use the CLI tool occ, you can
## do it from anywhere.
nextcloudpath="/var/www/html"
wwwuser="www-data"
sudo -u $wwwuser php "$nextcloudpath/occ" $@
errorcode=$?
exit $errorcode