15 lines
358 B
Bash
Executable File
15 lines
358 B
Bash
Executable File
#!/bin/bash
|
|
|
|
. /etc/alternc/local.sh
|
|
|
|
# Add INOTIFY_UPDATE_DOMAIN var to local.sh
|
|
if [ -z "$INOTIFY_UPDATE_DOMAIN" ] ; then
|
|
/bin/echo -e '
|
|
# File to look at for forced launch of update_domain (use incron)
|
|
INOTIFY_UPDATE_DOMAIN="/run/alternc/inotify_update_domain.lock"
|
|
' >> /etc/alternc/local.sh
|
|
fi
|
|
|
|
mkdir -p /run/alternc && chown alterncpanel /run/alternc
|
|
|