/[smeserver]/rpms/e-smith-lib/sme10/e-smith-lib-2.6.0-bz11177-signals.patch
ViewVC logotype

Diff of /rpms/e-smith-lib/sme10/e-smith-lib-2.6.0-bz11177-signals.patch

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

Revision 1.1 by jpp, Fri Jan 1 23:22:03 2021 UTC Revision 1.2 by jpp, Fri Jan 1 23:28:42 2021 UTC
# Line 12  diff -Nur e-smith-lib-2.6.0.old/root/etc Line 12  diff -Nur e-smith-lib-2.6.0.old/root/etc
12  +        # bring the service up if it is enabled (and we're not stopping it or running it once, or using signal able to start it)  +        # bring the service up if it is enabled (and we're not stopping it or running it once, or using signal able to start it)
13  +        unshift(@actions,'start') if ($enabled && !grep { /^(down|stop|d|once|o|start|restart|reload-or-restart)$/ } @actions) ;  +        unshift(@actions,'start') if ($enabled && !grep { /^(down|stop|d|once|o|start|restart|reload-or-restart)$/ } @actions) ;
14  +       # stop the service if it is disabled  +       # stop the service if it is disabled
15  +       @actions = ('stop');  +       @actions = ('stop') unless  $enabled;
16          foreach (@actions)          foreach (@actions)
17          {          {
18              warn "adjusting non-supervised $service ($_)\n";              warn "adjusting non-supervised $service ($_)\n";


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