3 PATH=/usr/local/bin:/usr/local/sbin:$PATH
4 # Protect auto-files against sudo invocations of the init script
6 # If you use PAM authentication with pam_krb5 and Kerberos
7 # authentication simultaneously, uncomment the following line to
8 # avoid segfaults in libcom_err:
9 #LD_PRELOAD=/usr/lib/libkrb4.so; export LD_PRELOAD
11 . /lib/lsb/init-functions
16 log_begin_msg "Starting Dolda Connect daemon..."
17 log_progress_msg lists
18 rm -f /tmp/dc-filelist-*
19 log_progress_msg daemon
20 start-stop-daemon -S -p /var/run/doldacond.pid -qx /usr/local/bin/doldacond -- -s -p /var/run/doldacond.pid
25 log_begin_msg "Stopping Dolda Connect daemon..."
26 start-stop-daemon -K -p /var/run/doldacond.pid -qx /usr/local/bin/doldacond
31 log_begin_msg "Reloading Dolda Connect daemon..."
32 start-stop-daemon -K -p /var/run/doldacond.pid -qx /usr/local/bin/doldacond -s HUP