/[smeserver]/rpms/e-smith-base/sme10/e-smith-base-5.8.0-bz11094-raidmonitor.service.patch
ViewVC logotype

Diff of /rpms/e-smith-base/sme10/e-smith-base-5.8.0-bz11094-raidmonitor.service.patch

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

Revision 1.1 by jpp, Thu Nov 12 02:58:43 2020 UTC Revision 1.4 by jpp, Wed Dec 2 03:56:43 2020 UTC
# Line 1  Line 1 
1  diff -Nur e-smith-base-5.8.0.old/createlinks e-smith-base-5.8.0/createlinks  diff -Nur e-smith-base-5.8.0.old/createlinks e-smith-base-5.8.0/createlinks
2  --- e-smith-base-5.8.0.old/createlinks  2020-11-11 21:39:57.056000000 -0500  --- e-smith-base-5.8.0.old/createlinks  2020-11-11 21:39:57.056000000 -0500
3  +++ e-smith-base-5.8.0/createlinks      2020-11-11 21:54:35.542000000 -0500  +++ e-smith-base-5.8.0/createlinks      2020-11-11 22:10:03.287000000 -0500
4  @@ -605,7 +605,6 @@  @@ -605,7 +605,6 @@
5   my %service2order =   my %service2order =
6   (   (
# Line 9  diff -Nur e-smith-base-5.8.0.old/createl Line 9  diff -Nur e-smith-base-5.8.0.old/createl
9       dhcpd      => "65",       dhcpd      => "65",
10       'local'            => "99",       'local'            => "99",
11   );   );
12  @@ -657,6 +656,7 @@  @@ -628,7 +627,6 @@
13     }
14    
15     # Set up links to daemontools.
16    -safe_symlink("daemontools", "root/etc/rc.d/init.d/raidmonitor");
17    
18     safe_symlink("run.dhclient", "root/var/service/wan/run.DHCPHostname");
19     safe_symlink("run.dhclient", "root/var/service/wan/run.DHCPEthernetAddress");
20    @@ -657,6 +655,7 @@
21          systemd-update-utmp-runlevel.service          systemd-update-utmp-runlevel.service
22          systemd-user-sessions.service          systemd-user-sessions.service
23          networking.service          networking.service
# Line 17  diff -Nur e-smith-base-5.8.0.old/createl Line 25  diff -Nur e-smith-base-5.8.0.old/createl
25          ))          ))
26          {          {
27          symlink("../$unit",          symlink("../$unit",
28  @@ -664,6 +664,8 @@  @@ -664,6 +663,8 @@
29           or die "Can't symlink to root/usr/lib/systemd/system/$target.target.wants/$unit: $!";           or die "Can't symlink to root/usr/lib/systemd/system/$target.target.wants/$unit: $!";
30          }          }
31   }   }
32  +symlink("mdmonitor.service",  +symlink("mdmonitor.service",
33  +                "root/usr/lib/systemd/system/raidmonitor.service")  +                "root/usr/lib/systemd/system/raidmonitor.service");
34    
35   # languages links   # languages links
36   foreach (qw(fr-be fr-lu fr-mc fr-ch))   foreach (qw(fr-be fr-lu fr-mc fr-ch))
# Line 50  diff -Nur e-smith-base-5.8.0.old/root/us Line 58  diff -Nur e-smith-base-5.8.0.old/root/us
58  +#Koozali  +#Koozali
59  +ExecStartPre=/sbin/e-smith/service-status raidmonitor  +ExecStartPre=/sbin/e-smith/service-status raidmonitor
60  +ExecStartPre=/sbin/e-smith/systemd/mdmonitor-pre  +ExecStartPre=/sbin/e-smith/systemd/mdmonitor-pre
61  +ExecStart=/sbin/mdadm --monitor --scan --program /sbin/e-smith/mdevent --pid-file=/var/run/mdadm/mdadm.pid  +ExecStart=/sbin/mdadm --monitor --scan --program /sbin/e-smith/mdevent -f --pid-file=/var/run/mdadm/mdadm.pid
62  +  +
63  +[Install]  +[Install]
64  +Alias=raidmonitor.service  +Alias=raidmonitor.service


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