#!/bin/bash

. /usr/share/eole/FonctionsEoleNg

	# Création du répertoire de stockage des log
	if [ ! -d "/var/log/posh-profil" ]
	then
		mkdir -p "/var/log/posh-profil"
	fi

	RunCmd /var/www/html/posh-profil/script/synchronisation.sh web >> /var/log/posh-profil/posh-profil.log
	RunCmd /var/www/html/posh-profil/script/permission.sh web
