pandora/reload.sh

9 lines
206 B
Bash
Raw Normal View History

#!/bin/sh
2013-04-18 15:26:52 +00:00
if [ `whoami` != 'root' ]; then
echo you have to be root or run with sudo
exit 1
fi
for service in pandora pandora-tasks pandora-encoding pandora-cron; do
service $service reload
done