File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -54,18 +54,21 @@ function update_script() {
5454 cd /opt/kimai
5555 $STD composer install --no-dev --optimize-autoloader
5656 $STD bin/console kimai:update
57- chown -R :www-data .
58- chmod -R g+r .
59- chmod -R g+rw var/
60- chmod -R 777 /opt/kimai/*
61- chown -R www-data:www-data /opt/kimai
6257 echo " ${RELEASE} " > /opt/${APP} _version.txt
6358 msg_ok " Updated ${APP} to ${RELEASE} "
6459
6560 msg_info " Starting Apache2"
6661 systemctl start apache2
6762 msg_ok " Started Apache2"
6863
64+ msg_info " Setup Permissions"
65+ chown -R :www-data /opt/*
66+ chmod -R g+r /opt/*
67+ chmod -R g+rw /opt/*
68+ chown -R www-data:www-data /opt/*
69+ chmod -R 777 /opt/*
70+ msg_ok " Setup Permissions"
71+
6972 msg_info " Cleaning Up"
7073 rm -rf ${RELEASE} .zip
7174 rm -rf " $BACKUP_DIR "
You can’t perform that action at this time.
0 commit comments