mirror of
https://github.com/YunoHost-Apps/homeassistant_ynh.git
synced 2024-09-03 19:26:16 +02:00
Update
This commit is contained in:
parent
fbf2a851b3
commit
d2067c3ff6
1 changed files with 5 additions and 0 deletions
|
@ -60,6 +60,11 @@ exec_as $app -H -s /bin/bash -c " \
|
|||
&& echo 'install Home Assistant' \
|
||||
&& pip3 install --upgrade $app==$VERSION \
|
||||
"
|
||||
# update script in bin
|
||||
ynh_script_progression --message="Updating yunohost script used by homeassitant..."
|
||||
cp -r "../conf/homeassistant_conf_files/bin/." "$data_path/bin/"
|
||||
chown -R $app: "$data_path/bin"
|
||||
chmod -R +x "$data_path/bin/"
|
||||
|
||||
# setup up systemd service
|
||||
ynh_script_progression --message="Adding the dedicated service..."
|
||||
|
|
Loading…
Reference in a new issue