1 |
jpp |
1.1 |
diff -Nur smeserver-mediatomb-1.0.old/createlinks smeserver-mediatomb-1.0/createlinks |
2 |
|
|
--- smeserver-mediatomb-1.0.old/createlinks 2018-03-19 00:17:29.000000000 -0400 |
3 |
|
|
+++ smeserver-mediatomb-1.0/createlinks 2018-03-20 10:09:03.722000000 -0400 |
4 |
|
|
@@ -13,7 +13,8 @@ |
5 |
|
|
templates2events("/etc/sysconfig/mediatomb", qw( conf-mediatomb bootstrap-console-save post-upgrade)); |
6 |
|
|
|
7 |
|
|
# services to launch on event |
8 |
|
|
- safe_symlink("restart", "root/etc/e-smith/events/conf-mediatomb/services2adjust/mediatomb"); |
9 |
|
|
+ #safe_symlink("restart", "root/etc/e-smith/events/conf-mediatomb/services2adjust/mediatomb"); |
10 |
|
|
+ event_link("mediatomb", conf-mediatomb, "10"); |
11 |
|
|
|
12 |
|
|
# links for rc.d from init.d |
13 |
|
|
service_link_enhanced("mediatomb", "S95", "7"); |
14 |
|
|
diff -Nur smeserver-mediatomb-1.0.old/root/etc/e-smith/events/action/mediatomb smeserver-mediatomb-1.0/root/etc/e-smith/events/action/mediatomb |
15 |
|
|
--- smeserver-mediatomb-1.0.old/root/etc/e-smith/events/action/mediatomb 1969-12-31 19:00:00.000000000 -0500 |
16 |
|
|
+++ smeserver-mediatomb-1.0/root/etc/e-smith/events/action/mediatomb 2018-03-20 10:03:57.708000000 -0400 |
17 |
|
|
@@ -0,0 +1,7 @@ |
18 |
|
|
+#!/bin/bash |
19 |
|
|
+# restart mysql.init |
20 |
|
|
+/sbin/service mediatomb stop 1>/dev/null |
21 |
|
|
+/sbin/service mysql.init restart 1>/dev/null |
22 |
|
|
+/sbin/service mediatomb start 1>/dev/null |
23 |
|
|
+exit 0 |
24 |
|
|
+ |