public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-office/openerp/files: openerp-2 openerp-confd-2
@ 2013-02-19  9:45 Patrick Lauer (patrick)
  0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2013-02-19  9:45 UTC (permalink / raw
  To: gentoo-commits

patrick     13/02/19 09:45:53

  Added:                openerp-2 openerp-confd-2
  Log:
  Fixing for /run migration
  
  (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.1                  app-office/openerp/files/openerp-2

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/openerp/files/openerp-2?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/openerp/files/openerp-2?rev=1.1&content-type=text/plain

Index: openerp-2
===================================================================
#!/sbin/runscript

# Additional options that are passed to the daemon.
DAEMON_OPTS="-c ${CONFIGFILE}"

depend() {
	after postgresql
}

start() {
	checkpath -q -d -m 0755 -o openerp:openerp /run/openerp
	ebegin "Starting openerp server"
	start-stop-daemon --start --quiet --pidfile "${PIDFILE}" --exec /usr/bin/openerp-server \
		--make-pidfile --user "${USER}" --background -- ${DAEMON_OPTS}
	eend $?
}

stop() {
	ebegin "Stopping openerp server"
	start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" --signal 9
	rm -f "${PIDFILE}"
	eend $?
}



1.1                  app-office/openerp/files/openerp-confd-2

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/openerp/files/openerp-confd-2?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/openerp/files/openerp-confd-2?rev=1.1&content-type=text/plain

Index: openerp-confd-2
===================================================================
USER="openerp"
CONFIGFILE="/etc/openerp/openerp.cfg"
PIDFILE="/run/openerp/openerp.pid"





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-19  9:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-19  9:45 [gentoo-commits] gentoo-x86 commit in app-office/openerp/files: openerp-2 openerp-confd-2 Patrick Lauer (patrick)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox