/[smecontribs]/rpms/smeserver-mediatomb/contribs9/smeserver-mediatomb-1.0-conf_action.patch
ViewVC logotype

Annotation of /rpms/smeserver-mediatomb/contribs9/smeserver-mediatomb-1.0-conf_action.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Mar 20 14:11:31 2018 UTC (6 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mediatomb-1_0-12_el6_sme, smeserver-mediatomb-1_0-9_el6_sme, smeserver-mediatomb-1_0-11_el6_sme, smeserver-mediatomb-1_0-7_el6_sme, smeserver-mediatomb-1_0-6_el6_sme, smeserver-mediatomb-1_0-5_el6_sme, smeserver-mediatomb-1_0-10_el6_sme, smeserver-mediatomb-1_0-4_el6_sme, smeserver-mediatomb-1_0-13_el6_sme, smeserver-mediatomb-1_0-8_el6_sme, HEAD
* Tue Mar 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-4.sme
- add requires vorbis
- replace restart in conf-mediatomb by an action that also trigger mysql db creation

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     +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed