Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/mediatomb/files: mediatomb-0.12.0.confd mediatomb-0.12.0.initd
Date: Tue, 30 Mar 2010 01:13:30
Message-Id: E1NwQ1G-0006eH-NT@stork.gentoo.org
1 darkside 10/03/30 01:13:26
2
3 Added: mediatomb-0.12.0.confd mediatomb-0.12.0.initd
4 Log:
5 minor revbump to grab new init/conf files from bug 264235 that I forgot
6 (Portage version: 2.1.8.3/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 net-misc/mediatomb/files/mediatomb-0.12.0.confd
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mediatomb/files/mediatomb-0.12.0.confd?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mediatomb/files/mediatomb-0.12.0.confd?rev=1.1&content-type=text/plain
13
14 Index: mediatomb-0.12.0.confd
15 ===================================================================
16 # /etc/conf.d/mediatomb: config file for /etc/init.d/mediatomb
17
18 # See the mediatomb(1) manpage for more info.
19
20 # MediaTomb Web UI port.
21 # NOTE: The minimum value allowed is 49152
22 MEDIATOMB_PORT=49152
23
24 # Run MediaTomb as this user.
25 # NOTE: For security reasons do not run MediaTomb as root.
26 MEDIATOMB_USER="mediatomb"
27
28 # Run MediaTomb as this group.
29 # NOTE: For security reasons do not run MediaTomb as root.
30 MEDIATOMB_GROUP="mediatomb"
31
32 # Path to MediaTomb config file.
33 MEDIATOMB_CONFIG="/etc/mediatomb/config.xml"
34
35 # Path to MediaTomb log file.
36 MEDIATOMB_LOGFILE="/var/log/mediatomb.log"
37
38 # Path to MediaTomb pid file.
39 MEDIATOMB_PIDFILE="/var/run/mediatomb.pid"
40
41 # Other options you want to pass to MediaTomb.
42 MEDIATOMB_OPTIONS=""
43
44
45
46 1.1 net-misc/mediatomb/files/mediatomb-0.12.0.initd
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mediatomb/files/mediatomb-0.12.0.initd?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mediatomb/files/mediatomb-0.12.0.initd?rev=1.1&content-type=text/plain
50
51 Index: mediatomb-0.12.0.initd
52 ===================================================================
53 #!/sbin/runscript
54
55 depend() {
56 need net #MYSQL#
57 }
58
59 start() {
60 ebegin "Starting MediaTomb"
61 start-stop-daemon --start --quiet --exec /usr/bin/mediatomb \
62 --pidfile ${MEDIATOMB_PIDFILE} -- --daemon \
63 --pidfile ${MEDIATOMB_PIDFILE} --user ${MEDIATOMB_USER} \
64 --group ${MEDIATOMB_GROUP} --logfile ${MEDIATOMB_LOGFILE} \
65 --config ${MEDIATOMB_CONFIG} --port ${MEDIATOMB_PORT} \
66 ${MEDIATOMB_OPTIONS}
67 eend $?
68 }
69
70 stop () {
71 ebegin "Stopping MediaTomb"
72 start-stop-daemon --stop --retry 10 --quiet --pidfile ${MEDIATOMB_PIDFILE}
73 eend $?
74 }