Config file changes amass here, so a rewrite is necessary. Fortunately, the layout is the same so it is easy.
24 lines
800 B
Plaintext
24 lines
800 B
Plaintext
@exec mkdir -p %D/%%WWWDIR%%/imgs
|
|
@exec chown %%WWW_OWNER%%:%%WWW_GROUP%% %D/%%WWWDIR%%/imgs
|
|
@unexec if cmp -s %D/etc/monitorix.conf %D/etc/monitorix.conf.sample; then rm -f %D/etc/monitorix.conf; fi
|
|
etc/monitorix.conf.sample
|
|
@exec if [ ! -f %D/etc/monitorix.conf ]; then cp %B/%f %D/etc/monitorix.conf; fi
|
|
bin/monitorix
|
|
@exec mkdir -p %D/%%WWWDIR%%/usage
|
|
@dirrmtry %%WWWDIR%%/usage
|
|
%%CGIDIR%%/monitorix.cgi
|
|
@unexec rm -f %B/monitorix.conf.path
|
|
@dirrmtry %%CGIDIR%%
|
|
%%WWWDIR%%/reports/ca.html.sample
|
|
%%WWWDIR%%/reports/de.html.sample
|
|
%%WWWDIR%%/reports/en.html.sample
|
|
%%WWWDIR%%/reports/it.html.sample
|
|
%%WWWDIR%%/reports/pl.html.sample
|
|
@dirrm %%WWWDIR%%/reports
|
|
%%WWWDIR%%/logo_bot.png
|
|
%%WWWDIR%%/logo_top.png
|
|
%%WWWDIR%%/monitorixico.png
|
|
%%WWWDIR%%/cgi
|
|
@dirrmtry %%WWWDIR%%/imgs
|
|
@dirrmtry %%WWWDIR%%
|