newdevs:restarting
Table of Contents
New Developers Working Group
Restarting Things
All Services
Switch to the opensrf user and run:
osrf_control -l --restart-all
Apache
Switch to the root user and run:
/etc/init.d/apache2 restart
OR
systemctl restart apache2
Autogen
Switch to the opensrf user and run:
/openils/bin/autogen.sh
Memcache
As root user:
/etc/init.d/memcached restart
Reporter
As the opensrf user
To check if Clark is already running:
ps -ef|grep -i Clark
To kill Clark:
pkfill -f Clark
After killing Clark, delete reporter-LOCK in /tmp/
To restart:
clark-kent.pl --daemon
When to Restart
Restart Apache after changing perl and as a first step for changes not showing.
Restart opensrf after changing the perl, or when postgres restarts.
Run autogen.sh after making org-level changes: new names, new orgs.
You only need to restart Clark if he dies.
newdevs/restarting.txt · Last modified: 2024/03/18 12:10 by tmccanna