2013-01-28 17:05:53 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
. /etc/alternc/local.sh
|
|
|
|
|
|
|
|
# Add INOTIFY_UPDATE_DOMAIN var to local.sh
|
|
|
|
if [ -z "$INOTIFY_UPDATE_DOMAIN" ] ; then
|
2013-01-30 17:32:58 +00:00
|
|
|
/bin/echo -e '
|
2013-01-28 17:05:53 +00:00
|
|
|
# File to look at for forced launch of update_domain (use incron)
|
2018-07-04 15:42:42 +00:00
|
|
|
INOTIFY_UPDATE_DOMAIN="/run/alternc/inotify_update_domain.lock"
|
2013-01-28 17:05:53 +00:00
|
|
|
' >> /etc/alternc/local.sh
|
|
|
|
fi
|
|
|
|
|
2018-07-04 15:42:42 +00:00
|
|
|
mkdir -p /run/alternc && chown alterncpanel /run/alternc
|
2013-01-28 17:05:53 +00:00
|
|
|
|