mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
.
This commit is contained in:
parent
c45e7f4869
commit
c75ba4f583
2 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
### END INIT INFO
|
||||
|
||||
dir="YHDIR"
|
||||
cmd="php daemon.php http://localhost 8081"
|
||||
cmd="php daemon.php YHURL 8080"
|
||||
user="www-data"
|
||||
|
||||
name=`basename $0`
|
||||
|
|
|
@ -50,6 +50,7 @@ sudo yunohost app addaccess movim -u $admin
|
|||
|
||||
# Copy init script if Wheezy
|
||||
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
|
||||
|
||||
# Copy systemd service if Jessie
|
||||
|
|
Loading…
Reference in a new issue