diff --git a/conf/systemd.service b/conf/systemd.service index fa94f4b..418072f 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -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 diff --git a/scripts/_common.sh b/scripts/_common.sh index 50fa51d..95fb597 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -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