/[smeserver]/rpms/e-smith-base/sme10/e-smith-base-5.8.1-bz11722-add-instance-support.patch
ViewVC logotype

Diff of /rpms/e-smith-base/sme10/e-smith-base-5.8.1-bz11722-add-instance-support.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by jpp, Thu Oct 28 02:38:07 2021 UTC Revision 1.2 by jpp, Tue Nov 16 03:05:47 2021 UTC
# Line 45  diff -Nur --no-dereference e-smith-base- Line 45  diff -Nur --no-dereference e-smith-base-
45          ## adding link if needed in /etc/systemd/system/sme-server.target.wants          ## adding link if needed in /etc/systemd/system/sme-server.target.wants
46          ## readd event if present in usr/lib as preste-all does not care about that.          ## readd event if present in usr/lib as preste-all does not care about that.
47  -       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"){
48  +       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$/ ) ){
49                  #print "systemctl add-wants sme-server.target $service\n";                  #print "systemctl add-wants sme-server.target $service\n";
50                  `/usr/bin/systemctl add-wants sme-server.target $service `;                  `/usr/bin/systemctl add-wants sme-server.target $service `;
51          }          }


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed