diff options
Diffstat (limited to 'app-office/openerp/files/openerp-2')
-rw-r--r-- | app-office/openerp/files/openerp-2 | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/app-office/openerp/files/openerp-2 b/app-office/openerp/files/openerp-2 deleted file mode 100644 index d1fedb1470d3..000000000000 --- a/app-office/openerp/files/openerp-2 +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/openrc-run - -# 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 $? -} |