|
35 |
. /usr/share/univention-join/joinscripthelper.lib |
35 |
. /usr/share/univention-join/joinscripthelper.lib |
36 |
joinscript_init |
36 |
joinscript_init |
37 |
|
37 |
|
38 |
ln -sf /etc/runit/univention-directory-notifier /etc/runit/univention/univention-directory-notifier |
38 |
ln -snf /etc/runit/univention-directory-notifier /etc/runit/univention/univention-directory-notifier |
39 |
|
39 |
# Give runsvdir up to 15s to find the new service and to start the corresponding runsv |
|
|
40 |
for i in 1 2 3 |
41 |
do |
42 |
[ -e /etc/runit/univention-directory-notifier/supervise/ok ] && break |
43 |
sleep 5 |
44 |
done |
40 |
/etc/init.d/univention-directory-notifier start |
45 |
/etc/init.d/univention-directory-notifier start |
41 |
|
46 |
|
42 |
joinscript_save_current_version |
47 |
joinscript_save_current_version |
43 |
exit 0 |
48 |
exit 0 |
44 |
|
|
|
45 |
|
46 |
- |