diff options
Moved shell scripts and apache config to their own folder; Updated bash scripts to have checks for root and apps
1 files changed, 0 insertions, 10 deletions
| -rwxr-xr-x | move-to-www.sh | 10 |
diff --git a/move-to-www.sh b/move-to-www.sh deleted file mode 100755 index c427606..0000000 --- a/move-to-www.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -DEFAULT_DIR="/var/www/devrix-job-board/" - -if [ ! -d "$DEFAULT_DIR" ]; then - sudo -u www-data mkdir $DEFAULT_DIR -fi - -sudo cp -R ./src/. $DEFAULT_DIR -sudo chown -R www-data:www-data $DEFAULT_DIR* |
