2013-01-29 08:00:19 +00:00
|
|
|
#!/bin/bash
|
2013-01-28 17:05:53 +00:00
|
|
|
|
|
|
|
# Launch update_domains.sh if $INOTIFY_UPDATE_DOMAIN exist
|
|
|
|
|
|
|
|
. /etc/alternc/local.sh
|
|
|
|
|
2013-03-21 13:55:51 +00:00
|
|
|
LOGGER="/usr/bin/logger"
|
|
|
|
|
|
|
|
if [ -e "$INOTIFY_UPDATE_DOMAIN" ] ; then
|
|
|
|
if [ -x "$LOGGER" ] ; then
|
2015-11-16 07:49:52 +00:00
|
|
|
$LOGGER -t "ALTERNC Panel manual launch update_domain"
|
2013-03-21 13:55:51 +00:00
|
|
|
fi
|
|
|
|
/usr/lib/alternc/update_domains.sh
|
2015-11-16 07:49:52 +00:00
|
|
|
rm "$INOTIFY_UPDATE_DOMAIN"
|
2013-03-21 13:55:51 +00:00
|
|
|
fi
|