diff options
Diffstat (limited to 'abs/core/mythtv/stable-0.27/mythweb/mythweb.install')
-rw-r--r-- | abs/core/mythtv/stable-0.27/mythweb/mythweb.install | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/abs/core/mythtv/stable-0.27/mythweb/mythweb.install b/abs/core/mythtv/stable-0.27/mythweb/mythweb.install index 0073499..b8e31a8 100644 --- a/abs/core/mythtv/stable-0.27/mythweb/mythweb.install +++ b/abs/core/mythtv/stable-0.27/mythweb/mythweb.install @@ -1,10 +1,16 @@ post_install() { + echo "==> Setting mythweb permissions." + chmod -R 755 /data/srv/httpd/mythweb/ + chown mythtv:http /data/srv/httpd/mythweb/data/tv_icons + chmod -R 775 /data/srv/httpd/mythweb/{image_cache,php_sessions,data} + echo "==> Reading lighttpd's configuration file." gen_light_include.py - /sbin/sv hup /service/lighttpd + echo "==> Restarting lighttpd." + /sbin/sv hup /service/lighttpd } + post_upgrade() { post_install - } post_remove() { @@ -12,7 +18,5 @@ post_remove() { echo echo "==> Forcing a re-read of lighttpd's configuration file." echo "" - /sbin/sv hup /service/lighttpd -#-- - + /sbin/sv hup /service/lighttpd } |