You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Rune Kaagaard 50280f4fc4 Service mod.: Proper(?) handling of return code 69
This adds "69" to the return codes from the status command that should be
considered as not running. At least "django-celery" uses this return code,
maybe others::

    /venv/bin/python /code/project/manage.py celeryctl status
    echo $? # 69 when not running.

A bit of googling let me to http://tldp.org/LDP/abs/html/exitcodes.html and
on a Ubuntu Server 12.10 I get::

    ~# cat /usr/include/sysexits.h | grep 69
    #define EX_UNAVAILABLE	69	/* service unavailable */

I'm not sure if the content of sysexits.h is the same on other OS'es.
12 years ago
add_host
apt Update modules to use run_command in module_common.py 12 years ago
apt_repository Update modules to use run_command in module_common.py 12 years ago
assemble
async_status
async_wrapper
authorized_key
command Various cleanup to run_command 12 years ago
copy
cron Update modules to use run_command in module_common.py 12 years ago
debug
easy_install Update modules to use run_command in module_common.py 12 years ago
ec2
facter Various cleanup to run_command 12 years ago
fail
fetch
file
fireball Update modules to use run_command in module_common.py 12 years ago
get_url
git Various cleanup to run_command 12 years ago
group Update modules to use run_command in module_common.py 12 years ago
group_by
ini_file
lineinfile
mail
mount Update modules to use run_command in module_common.py 12 years ago
mysql_db
mysql_user
nagios
ohai Various cleanup to run_command 12 years ago
pause
ping
pip Update modules to use run_command in module_common.py 12 years ago
postgresql_db
postgresql_user
raw
script
seboolean
selinux
service Service mod.: Proper(?) handling of return code 69 12 years ago
setup Update modules to use run_command in module_common.py 12 years ago
shell
slurp
subversion Various cleanup to run_command 12 years ago
supervisorctl Various cleanup to run_command 12 years ago
svr4pkg Update modules to use run_command in module_common.py 12 years ago
template
user Update modules to use run_command in module_common.py 12 years ago
virt
wait_for
yum Update modules to use run_command in module_common.py 12 years ago