mirror of
https://github.com/YunoHost-Apps/veloren_ynh.git
synced 2024-09-03 17:46:10 +02:00
Add assets directory environment var to systemd unit file
This commit is contained in:
parent
a5ac2c9820
commit
d037ef2d6c
2 changed files with 1 additions and 9 deletions
|
@ -7,6 +7,7 @@ Type=simple
|
|||
User=__APP__
|
||||
Group=__APP__
|
||||
WorkingDirectory=__DATA_PATH__/
|
||||
Environment=VELOREN_ASSETS=__FINAL_PATH__/
|
||||
ExecStart=__FINALPATH__/target/release/veloren-server-cli --basic
|
||||
KillSignal=SIGUSR1
|
||||
TimeoutStopSec=150
|
||||
|
|
|
@ -12,15 +12,6 @@ pkg_dependencies="cargo rustc ca-certificates librust-backtrace+libbacktrace-dev
|
|||
#=================================================
|
||||
|
||||
function setup_source {
|
||||
#if [ ! -d "$final_path" ]; then
|
||||
# git clone https://gitlab.com/veloren/veloren.git/ "$final_path" 2>&1
|
||||
#fi
|
||||
|
||||
#pushd "$final_path"
|
||||
# git fetch --all 2>&1
|
||||
# git checkout v0.9.0 2>&1
|
||||
# git reset --hard 2>&1
|
||||
#popd
|
||||
ynh_setup_source --dest_dir="$final_path"
|
||||
|
||||
patch_source
|
||||
|
|
Loading…
Reference in a new issue