diff options
Diffstat (limited to 'install')
-rw-r--r-- | install | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,6 +1,12 @@ post_install() { cp -n /etc/webapps/z-push/config.example.php /etc/webapps/z-push/config.php + + if [[ ! -e /var/lib/z-push ]]; + then + mkdir -p /var/lib/z-push + chown -R http:http /var/lib/z-push + fi + chown -R http:http /var/log/z-push - chown -R http:http /var/lib/z-push } |