--- rpms/e-smith-base/sme10/e-smith-base-5.8.1-bz11722-add-instance-support.patch 2021/10/28 02:38:07 1.1 +++ rpms/e-smith-base/sme10/e-smith-base-5.8.1-bz11722-add-instance-support.patch 2021/11/16 03:05:47 1.2 @@ -45,7 +45,7 @@ diff -Nur --no-dereference e-smith-base- ## adding link if needed in /etc/systemd/system/sme-server.target.wants ## readd event if present in usr/lib as preste-all does not care about that. - if ( $status eq "enable" and $linkedE eq "not" and $linkedD eq "not" and $wanted eq "want"){ -+ if ( $status eq "enable" and $linkedE eq "not" and $linkedD eq "not" and $wanted eq "want" and (! $service =~ /@\.service$/ ) ){ ++ if ( $status eq "enable" and $linkedE eq "not" and $linkedD eq "not" and $wanted eq "want" and ( $service !~ /\@\.service$/ ) ){ #print "systemctl add-wants sme-server.target $service\n"; `/usr/bin/systemctl add-wants sme-server.target $service `; }