blob: 62a4070b5b129ce8e2ef4dc101197c4566cc74d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
depend() {
need localmount net
after bootmisc
}
start() {
ebegin "Starting pyTivo"
start-stop-daemon --start --exec /usr/bin/pytivo \
--pidfile /var/run/pytivo.pid -m -N 19 -u pytivo:pytivo \
-- > /tmp/pyTivo.log 2>&1 &
eend $?
}
stop() {
ebegin "Stopping pyTivo"
start-stop-daemon --stop --exec /usr/bin/pytivo \
--pidfile /var/run/pytivo.pid
eend $?
}
|