diff --git a/README.md b/README.md index 5cbcf29..05a8b8f 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,11 @@ Current Movim version : 20150810. **Changelog** +0.2b 2015-08-12 +- Add php5-cli as required +- Fixed a warning for sysvinit script installation +- Fixed a LSB warning with movim sysvinit script + 0.1b 2015-08-12 - Beta release diff --git a/TODO b/TODO index e69de29..c92d4c1 100644 --- a/TODO +++ b/TODO @@ -0,0 +1 @@ +- Add SSO support diff --git a/conf/movim.init b/conf/movim.init index c57aa91..b0e1556 100755 --- a/conf/movim.init +++ b/conf/movim.init @@ -1,6 +1,6 @@ #!/bin/sh ### BEGIN INIT INFO -# Provides: +# Provides: movim # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 diff --git a/scripts/install b/scripts/install index f7d0348..c27a8d6 100644 --- a/scripts/install +++ b/scripts/install @@ -36,7 +36,7 @@ sudo yunohost app initdb $db_user -p $db_pwd sudo yunohost app setting movim mysqlpwd -v $db_pwd # Install packages -sudo apt-get install php5-gd php5-curl php5-imagick -y +sudo apt-get install php5-gd php5-curl php5-imagick php5-cli -y # Install Movim files final_path=/var/www/movim @@ -66,7 +66,8 @@ sudo yunohost app addaccess movim -u $admin sudo sed -i "s@YHURL@$domain$path@g" ../conf/movim.{service,init} sudo sed -i "s@YHDIR@$final_path@g" ../conf/movim.{service,init} sudo sed -i "s@YHPORT@$port@g" ../conf/movim.{service,init} -if [ `pgrep -ox systemd` = "1" ]; +initcheck=`pgrep -ox systemd` +if [ "$initcheck" = "1" ]; then sudo cp ../conf/movim.service /lib/systemd/system/ sudo systemctl enable movim.service