/[smeserver]/rpms/e-smith-base/sme10/e-smith-base-5.8.0-bz10957.sme-server.target.patch
ViewVC logotype

Diff of /rpms/e-smith-base/sme10/e-smith-base-5.8.0-bz10957.sme-server.target.patch

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

Revision 1.2 by jpp, Wed Sep 30 20:38:11 2020 UTC Revision 1.7 by jpp, Tue Oct 20 20:11:20 2020 UTC
# Line 100  diff -Nur e-smith-base-5.8.0.old/createl Line 100  diff -Nur e-smith-base-5.8.0.old/createl
100  +       systemd-user-sessions.service  +       systemd-user-sessions.service
101  +       ))  +       ))
102  +       {  +       {
103  +       symlink("../bootstrap-console.service",  +       symlink("../$unit",
104  +                "root/usr/lib/systemd/system/$target.target.wants/$unit")  +                "root/usr/lib/systemd/system/$target.target.wants/$unit")
105  +        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: $!";
106  +       }  +       }
# Line 120  diff -Nur e-smith-base-5.8.0.old/root/et Line 120  diff -Nur e-smith-base-5.8.0.old/root/et
120  diff -Nur e-smith-base-5.8.0.old/root/etc/e-smith/events/actions/systemd-isolate e-smith-base-5.8.0/root/etc/e-smith/events/actions/systemd-isolate  diff -Nur e-smith-base-5.8.0.old/root/etc/e-smith/events/actions/systemd-isolate e-smith-base-5.8.0/root/etc/e-smith/events/actions/systemd-isolate
121  --- e-smith-base-5.8.0.old/root/etc/e-smith/events/actions/systemd-isolate      1969-12-31 19:00:00.000000000 -0500  --- e-smith-base-5.8.0.old/root/etc/e-smith/events/actions/systemd-isolate      1969-12-31 19:00:00.000000000 -0500
122  +++ e-smith-base-5.8.0/root/etc/e-smith/events/actions/systemd-isolate  2020-09-30 16:13:55.794000000 -0400  +++ e-smith-base-5.8.0/root/etc/e-smith/events/actions/systemd-isolate  2020-09-30 16:13:55.794000000 -0400
123  @@ -0,0 +1,2 @@  @@ -0,0 +1,3 @@
124  +#!/usr/bin/bash  +#!/usr/bin/bash
125  +/usr/bin/systemctl isolate sme-server.target  +/usr/bin/systemctl isolate sme-server.target
126    +/usr/bin/systemctl daemon-reload
127  diff -Nur e-smith-base-5.8.0.old/root/usr/lib/systemd/system/sme-server.target e-smith-base-5.8.0/root/usr/lib/systemd/system/sme-server.target  diff -Nur e-smith-base-5.8.0.old/root/usr/lib/systemd/system/sme-server.target e-smith-base-5.8.0/root/usr/lib/systemd/system/sme-server.target
128  --- e-smith-base-5.8.0.old/root/usr/lib/systemd/system/sme-server.target        1969-12-31 19:00:00.000000000 -0500  --- e-smith-base-5.8.0.old/root/usr/lib/systemd/system/sme-server.target        1969-12-31 19:00:00.000000000 -0500
129  +++ e-smith-base-5.8.0/root/usr/lib/systemd/system/sme-server.target    2020-09-30 15:33:14.457000000 -0400  +++ e-smith-base-5.8.0/root/usr/lib/systemd/system/sme-server.target    2020-09-30 15:33:14.457000000 -0400
130  @@ -0,0 +1,10 @@  @@ -0,0 +1,11 @@
131  +#  This file is part of Koozali SME Server.  +#  This file is part of Koozali SME Server.
132  +#  +#
133  +  +
134  +[Unit]  +[Unit]
135  +Description=Koozali SME Server System  +Description=Koozali SME Server System
136  +Documentation=man:systemd.special(7)  +Documentation=man:systemd.special(7)
137  +Requires=basic.target getty.target nfs-client.target remote-fs.target  +Requires=basic.target
138  +Conflicts=rescue.service rescue.target multi-user.target  +Conflicts=rescue.service rescue.target multi-user.target
139  +After=basic.target rescue.service rescue.target  +After=basic.target rescue.service rescue.target
140  +AllowIsolate=yes  +AllowIsolate=yes
141  +Wants=acpid.service atd.service auditd.service avahi-daemon.service brandbot.path crond.service irqbalance.service nfs-client.target remote-fs.target rhel-configure.service rsyslog.service smartd.service yum-cron.service  +Wants=acpid.service atd.service auditd.service avahi-daemon.service brandbot.path crond.service irqbalance.service nfs-client.target remote-fs.target rhel-configure.service rsyslog.service smartd.service yum-cron.service
142    diff -Nur e-smith-base-5.8.0.old/root/sbin/e-smith/service e-smith-base-5.8.0/root/sbin/e-smith/service
143    --- e-smith-base-5.8.0.old/root/sbin/e-smith/service    2020-10-01 11:15:37.118000000 -0400
144    +++ e-smith-base-5.8.0/root/sbin/e-smith/service        2020-10-01 11:21:11.608000000 -0400
145    @@ -15,7 +15,7 @@
146        exit
147     fi
148    
149    -if [ "$runlevel" = "multi-user.target" ]
150    +if [ "$runlevel" = "multi-user.target" ] || [ "$runlevel" = "sme-server.target" ]
151     then
152         if ls /etc/rc7.d/S??$1 >/dev/null 2>/dev/null
153         then


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