/[smecontribs]/rpms/smeserver-unifi/contribs10/smeserver-unifi-5.6.30-sme10.patch
ViewVC logotype

Diff of /rpms/smeserver-unifi/contribs10/smeserver-unifi-5.6.30-sme10.patch

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

Revision 1.2 by jpp, Thu Aug 4 02:36:31 2022 UTC Revision 1.4 by jpp, Thu Aug 4 02:57:06 2022 UTC
# Line 75  diff -Nur --no-dereference smeserver-uni Line 75  diff -Nur --no-dereference smeserver-uni
75  +       $unifi->delete_prop('TCPPort') if ( defined( $unifi->prop('TCPPort') ) and $unifi->prop('TCPPort') eq "8080,8443,8880,8843");  +       $unifi->delete_prop('TCPPort') if ( defined( $unifi->prop('TCPPort') ) and $unifi->prop('TCPPort') eq "8080,8443,8880,8843");
76  +  +
77  +}  +}
78    diff -Nur --no-dereference smeserver-unifi-5.6.30.old/root/etc/e-smith/events/actions/upgrade_unifi_controller.sh smeserver-unifi-5.6.30/root/etc/e-smith/events/actions/upgrade_unifi_controller.sh
79    --- smeserver-unifi-5.6.30.old/root/etc/e-smith/events/actions/upgrade_unifi_controller.sh      2021-11-01 21:56:56.066000000 -0400
80    +++ smeserver-unifi-5.6.30/root/etc/e-smith/events/actions/upgrade_unifi_controller.sh  2022-08-03 22:46:48.835000000 -0400
81    @@ -64,7 +64,7 @@
82    
83            # Stop the local UniFi Controller service
84            printf "\n"
85    -       service $UNIFI_SERVICE stop
86    +       /usr/bin/systemctl stop $UNIFI_SERVICE
87            
88            # Remove previous backup directory (if it exists)
89     #      if [ -d "$UNIFI_BACKUP_DIR" ]; then
90    @@ -101,7 +101,7 @@
91            
92            # Restart the local UniFi Controller service
93            printf "\n"
94    -       service $UNIFI_SERVICE start
95    +       /usr/bin/systemctl start $UNIFI_SERVICE
96            
97            # All done!
98            printf "\nUpgrade of UniFi Controller complete!\n"
99  diff -Nur --no-dereference smeserver-unifi-5.6.30.old/root/etc/e-smith/templates/usr/bin/hook-script.sh/30unifi smeserver-unifi-5.6.30/root/etc/e-smith/templates/usr/bin/hook-script.sh/30unifi  diff -Nur --no-dereference smeserver-unifi-5.6.30.old/root/etc/e-smith/templates/usr/bin/hook-script.sh/30unifi smeserver-unifi-5.6.30/root/etc/e-smith/templates/usr/bin/hook-script.sh/30unifi
100  --- smeserver-unifi-5.6.30.old/root/etc/e-smith/templates/usr/bin/hook-script.sh/30unifi        1969-12-31 19:00:00.000000000 -0500  --- smeserver-unifi-5.6.30.old/root/etc/e-smith/templates/usr/bin/hook-script.sh/30unifi        1969-12-31 19:00:00.000000000 -0500
101  +++ smeserver-unifi-5.6.30/root/etc/e-smith/templates/usr/bin/hook-script.sh/30unifi    2022-08-03 22:03:07.459000000 -0400  +++ smeserver-unifi-5.6.30/root/etc/e-smith/templates/usr/bin/hook-script.sh/30unifi    2022-08-03 22:03:07.459000000 -0400
# Line 107  diff -Nur --no-dereference smeserver-uni Line 128  diff -Nur --no-dereference smeserver-uni
128  +  +
129  diff -Nur --no-dereference smeserver-unifi-5.6.30.old/root/usr/lib/systemd/system/unifi.service smeserver-unifi-5.6.30/root/usr/lib/systemd/system/unifi.service  diff -Nur --no-dereference smeserver-unifi-5.6.30.old/root/usr/lib/systemd/system/unifi.service smeserver-unifi-5.6.30/root/usr/lib/systemd/system/unifi.service
130  --- smeserver-unifi-5.6.30.old/root/usr/lib/systemd/system/unifi.service        1969-12-31 19:00:00.000000000 -0500  --- smeserver-unifi-5.6.30.old/root/usr/lib/systemd/system/unifi.service        1969-12-31 19:00:00.000000000 -0500
131  +++ smeserver-unifi-5.6.30/root/usr/lib/systemd/system/unifi.service    2022-08-03 21:55:45.138000000 -0400  +++ smeserver-unifi-5.6.30/root/usr/lib/systemd/system/unifi.service    2022-08-03 22:56:26.749000000 -0400
132  @@ -0,0 +1,20 @@  @@ -0,0 +1,21 @@
133  +# UniFi Controller systemd Service File  +# UniFi Controller systemd Service File
134  +# by Steve Jenkins  +# by Steve Jenkins
135  +# Last updated January 8, 2017  +# Last updated January 8, 2017
# Line 123  diff -Nur --no-dereference smeserver-uni Line 144  diff -Nur --no-dereference smeserver-uni
144  +ExecStop=/usr/bin/java -jar /opt/UniFi/lib/ace.jar stop  +ExecStop=/usr/bin/java -jar /opt/UniFi/lib/ace.jar stop
145  +Type=simple  +Type=simple
146  +User=ubnt  +User=ubnt
147    +PermissionsStartOnly=true
148  +WorkingDirectory=/opt/UniFi  +WorkingDirectory=/opt/UniFi
149  +SuccessExitStatus=143  +SuccessExitStatus=143
150  +  +


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