/camera/camlib

To get this branch, use:
bzr branch http://darksoft.org/webbzr/camera/camlib

« back to all changes in this revision

Viewing changes to misc/pfcom.gentoo

  • Committer: Suren A. Chilingaryan
  • Date: 2011-02-13 01:33:37 UTC
  • Revision ID: csa@dside.dyndns.org-20110213013337-ibm4w4n5a3hu4k7u
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/sbin/runscript
 
2
# Copyright 1999-2004 Gentoo Foundation
 
3
# Distributed under the terms of the GNU General Public License v2
 
4
# $Header:
 
5
 
 
6
 
 
7
start() {
 
8
        ebegin "Starting camera server"
 
9
        start-stop-daemon --start --exec /opt/camera/bin/pfserver \
 
10
            --pidfile /var/run/pfserver.pid  --background -m --stdout /var/log/pfserver.log --stderr /var/log/pfserver.log
 
11
        eend $?
 
12
}
 
13
 
 
14
stop() {
 
15
        ebegin "Stopping camera server"
 
16
        start-stop-daemon --stop --exec /opt/camera/bin/pfserver \
 
17
            --pidfile /var/run/pfserver.pid 
 
18
        eend $?
 
19
}
 
20