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

Change init detection

This commit is contained in:
src386 2015-08-12 10:58:06 +02:00
parent 02433c105b
commit 41b9faf956
3 changed files with 9 additions and 2 deletions

View file

@ -10,6 +10,12 @@ Current Movim version : 20150810.
**Changelog**
0.2b 2015-08-12
- Add php5-cli as required
0.1b 2015-08-12
- Beta release
**Installation**
yunohost app install https://github.com/src386/movim_ynh

2
TODO
View file

@ -1 +1 @@
- URL rewriting
- Add SSO support

View file

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