2015-09-07 | Paul Boddie | raw annotate files changeset graph | Changed names to use more accurate or clearer terminology, fixing free/busy updates in certain circumstances where the current object is to be used, as opposed to any stored object (which may not yet be stored). |
1 #!/bin/sh 2 3 USER=imip-agent 4 GROUP=lmtp 5 INSTALL_DIR=/var/lib/imip-agent 6 WEB_INSTALL_DIR=/var/www/imip-agent 7 8 for DIR in "$INSTALL_DIR"/store "$INSTALL_DIR"/preferences "$WEB_INSTALL_DIR"/static ; do 9 mkdir -p "$DIR" 10 chown "$USER" "$DIR" 11 chgrp "$GROUP" "$DIR" 12 chmod g+ws "$DIR" 13 done