2 getent group ocsigen > /dev/null || groupadd ocsigen > /dev/null
3 getent passwd ocsigen > /dev/null || useradd -g ocsigen -d /dev/null -s /bin/false ocsigen > /dev/null
5 usermod -G ocsigen -a http
7 chown ocsigen:ocsigen /var/run/ocsigenserver_command
8 chown -R ocsigen:ocsigen /var/log/ocsigenserver
9 chown -R ocsigen:ocsigen /srv/ocsigenserver
13 # Needed because the FIFO installs from the package as root:root.
14 chown ocsigen:ocsigen /var/run/ocsigenserver_command