1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
This commit is contained in:
src386 2015-08-04 10:05:56 +02:00
parent c45e7f4869
commit c75ba4f583
2 changed files with 2 additions and 1 deletions

View file

@ -10,7 +10,7 @@
### END INIT INFO ### END INIT INFO
dir="YHDIR" dir="YHDIR"
cmd="php daemon.php http://localhost 8081" cmd="php daemon.php YHURL 8080"
user="www-data" user="www-data"
name=`basename $0` name=`basename $0`

View file

@ -50,6 +50,7 @@ sudo yunohost app addaccess movim -u $admin
# Copy init script if Wheezy # Copy init script if Wheezy
sudo cp ../conf/movim.init /etc/init.d/movim sudo cp ../conf/movim.init /etc/init.d/movim
sudo sed -i "s@YHURL@$domain$path@g" /etc/init.d/movim
sudo sed -i "s@YHDIR@$final_path@g" /etc/init.d/movim sudo sed -i "s@YHDIR@$final_path@g" /etc/init.d/movim
# Copy systemd service if Jessie # Copy systemd service if Jessie