diff -Nur --no-dereference smeserver-madsonic-5.0.3761.old/createlinks smeserver-madsonic-5.0.3761/createlinks --- smeserver-madsonic-5.0.3761.old/createlinks 2022-11-22 15:56:59.332000000 -0500 +++ smeserver-madsonic-5.0.3761/createlinks 2022-11-22 22:32:31.350000000 -0500 @@ -13,17 +13,14 @@ safe_symlink("restart", "root/etc/e-smith/events/conf-madsonic/services2adjust/madsonic"); safe_symlink("restart", "root/etc/e-smith/events/conf-madsonic/services2adjust/httpd-e-smith"); -# links for rc.d from init.d - service_link_enhanced("madsonic", "S98", "7"); - service_link_enhanced("madsonic", "K45", "6"); - service_link_enhanced("madsonic", "K45", "0"); - service_link_enhanced("madsonic", "K45", "1"); - my $event= "smeserver-madsonic-update"; safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/madsonic"); safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith"); + safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog"); templates2events( "/etc/sysconfig/madsonic" , $event); templates2events( "/etc/httpd/conf/httpd.conf" , $event); + templates2events( "/etc/rsyslog.conf" , $event); + event_actions( $event, "madsonic-fixperms" => "05"); use esmith::Build::Backup qw(:all); backup_includes("smeserver-madsonic", qw( diff -Nur --no-dereference smeserver-madsonic-5.0.3761.old/root/etc/e-smith/events/actions/madsonic-fixperms smeserver-madsonic-5.0.3761/root/etc/e-smith/events/actions/madsonic-fixperms --- smeserver-madsonic-5.0.3761.old/root/etc/e-smith/events/actions/madsonic-fixperms 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-madsonic-5.0.3761/root/etc/e-smith/events/actions/madsonic-fixperms 2022-11-23 00:20:43.302000000 -0500 @@ -0,0 +1,5 @@ +#!/bin/bash + +chown madsonic:madsonic -R /var/media +chown madsonic:madsonic -R /var/madsonic/* +chown madsonic:root /var/madsonic/madsonic.properties /var/madsonic/madsonic.log diff -Nur --no-dereference smeserver-madsonic-5.0.3761.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/99madsonic smeserver-madsonic-5.0.3761/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/99madsonic --- smeserver-madsonic-5.0.3761.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/99madsonic 2022-11-22 15:56:59.335000000 -0500 +++ smeserver-madsonic-5.0.3761/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/99madsonic 2022-11-22 23:04:18.488000000 -0500 @@ -7,6 +7,7 @@ Alias /backend/validateLicense.view /var/www/backend/validateLicense.view Alias /backend/validateLicenseKey.view /var/www/backend/validateLicense.view + Alias /backend/version.view /var/www/backend/validateLicense.view AddType text/plain .view order allow,deny @@ -22,6 +23,7 @@ Alias /backend/redirect/register.view /var/www/backend/validateLicense.view Alias /backend/redirect/unregister.view /var/www/backend/validateLicense.view Alias /backend/redirect/test.view /var/www/backend/validateLicense.view + Alias /backend/version.view /var/www/backend/validateLicense.view AddType text/plain .view diff -Nur --no-dereference smeserver-madsonic-5.0.3761.old/root/etc/e-smith/templates/etc/rsyslog.conf/32madsonic smeserver-madsonic-5.0.3761/root/etc/e-smith/templates/etc/rsyslog.conf/32madsonic --- smeserver-madsonic-5.0.3761.old/root/etc/e-smith/templates/etc/rsyslog.conf/32madsonic 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-madsonic-5.0.3761/root/etc/e-smith/templates/etc/rsyslog.conf/32madsonic 2022-11-22 16:00:36.011000000 -0500 @@ -0,0 +1,3 @@ +# we do not log the service unit content outside of journald +#to see actual madsonic log see /var/madsonic/madsonic.log and /var/madsonic/madsonic_sh.log +:programname, isequal, "madsonic" ~ diff -Nur --no-dereference smeserver-madsonic-5.0.3761.old/root/etc/e-smith/templates/etc/sysconfig/madsonic/40madsonic smeserver-madsonic-5.0.3761/root/etc/e-smith/templates/etc/sysconfig/madsonic/40madsonic --- smeserver-madsonic-5.0.3761.old/root/etc/e-smith/templates/etc/sysconfig/madsonic/40madsonic 2022-11-22 15:56:59.335000000 -0500 +++ smeserver-madsonic-5.0.3761/root/etc/e-smith/templates/etc/sysconfig/madsonic/40madsonic 2022-11-22 15:58:25.231000000 -0500 @@ -33,7 +33,7 @@ $madback = $madsonic{'Back_Folder'} || "/var/media/playlists/backup"; $madtest = $madsonic{'TestMode'} || "false"; $madgzip = $madsonic{'gzip'} || "true"; -$madtrans = $madsonic{'TranscodeFolder'} || ""; +$madtrans = $madsonic{'TranscodeFolder'} || "/var/madsonic/transcode"; use DateTime::TimeZone; $madtz= $madsonic{"timezone"} || DateTime::TimeZone->new( name => 'local' )->name();