Entries in /etc/init.d for startup
Bug #376200 reported by
Paul Everitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KARL3 |
Fix Released
|
Medium
|
LarsN |
Bug Description
Make sure that KARL-related software starts up on reboot:
- supervisord
- Apache
- anything else?
I suggest testing this, perhaps on Friday. (Lars, as FYI, M14 is this week.)
tags: |
added: operations removed: migration |
summary: |
- Entried in /etc/init.d for startup + Entries in /etc/init.d for startup |
Changed in karl3: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Added the following script and added it to chkconfig:
[lars@kdiab ~]$ cat /etc/init. d/supervisor d.conf
#!/bin/sh
#
# chkconfig: - 85 15
# description: Supervisor3: A System for Allowing the Control of Process State on UNIX
# processname: supervisord
# config: /etc/supervisor
# See how we were called. karl3/bin/ supervisord' d.pid` d.pid
case "$1" in
start)
su zope -c '/var/db/
;;
stop)
kill `cat /tmp/supervisor
rm /tmp/supervisor
;;
*)
echo $"Usage: `basename $0` {start|stop}"
esac
exit $RETVAL