1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00

Merge pull request #2 from src386/dev

0.2b
This commit is contained in:
src386 2015-08-12 12:21:10 +02:00
commit b2b4e83244
4 changed files with 10 additions and 3 deletions

View file

@ -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

1
TODO
View file

@ -0,0 +1 @@
- Add SSO support

View file

@ -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

View file

@ -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