mirror of
https://github.com/YunoHost-Apps/motioneye_ynh.git
synced 2024-09-03 19:46:09 +02:00
update source reference to specific commit + no extract
This commit is contained in:
parent
032e83353d
commit
d76cd68055
3 changed files with 6 additions and 5 deletions
|
@ -7,7 +7,7 @@ Type=simple
|
|||
User=__APP__
|
||||
Group=__APP__
|
||||
WorkingDirectory=__INSTALL_DIR__/
|
||||
ExecStart=__INSTALL_DIR__/bin/meyectl startserver -c /etc/motioneye/motioneye.conf
|
||||
ExecStart=__INSTALL_DIR__/venv/bin/meyectl startserver -c /etc/motioneye/motioneye.conf
|
||||
StandardOutput=append:/var/log/__APP__/__APP__.log
|
||||
StandardError=inherit
|
||||
Restart=on-abort
|
||||
|
|
|
@ -71,8 +71,10 @@ ram.runtime = "50M"
|
|||
# This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with :
|
||||
# ynh_setup_source --dest_dir="$install_dir"
|
||||
# You can also define other assets than "main" and add --source_id="foobar" in the previous command
|
||||
url = "https://github.com/motioneye-project/motioneye/archive/dev.tar.gz"
|
||||
sha256 = "561f3350a0da8cabd01e82d92c56e146da5bd15712d1dcb647648c9a57d573c6"
|
||||
url = "https://github.com/motioneye-project/motioneye/archive/ae136a4c45034839db10388dd7cd5ad7ecfe2f21.tar.gz"
|
||||
sha256 = "047f2e11ceb9f8af3f07bde99c9f520bf0b78485bcedfdaa1424d75cb76b30c5"
|
||||
extract = false
|
||||
rename = "source.tar.gz"
|
||||
|
||||
# These infos are used by https://github.com/YunoHost/apps/blob/master/tools/autoupdate_app_sources/autoupdate_app_sources.py
|
||||
# to auto-update the previous asset urls and sha256sum + manifest version
|
||||
|
|
|
@ -172,8 +172,7 @@ ynh_script_progression --message="Installing python dependencies..." --weight=1
|
|||
pushd $install_dir
|
||||
python3 -m venv venv
|
||||
venv/bin/pip install --upgrade pip
|
||||
venv/bin/pip install dev.tar.gz
|
||||
ls -R #Only to find where meyectl is installed
|
||||
venv/bin/pip install source.tar.gz
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue