1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00
This commit is contained in:
ewilly 2020-08-27 21:06:09 +02:00
parent fbf2a851b3
commit d2067c3ff6

View file

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