mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
deploy: load SETUP_SYSTEMD param from env
This commit is contained in:
parent
47e4847034
commit
aa5831686c
|
@ -26,6 +26,10 @@ host_arch=amd64
|
||||||
# and then upload the systemd service file to $host_systemd_service_dir,
|
# and then upload the systemd service file to $host_systemd_service_dir,
|
||||||
# root permission might be needed, you can change the host user to root temporarily while setting up the environment.
|
# root permission might be needed, you can change the host user to root temporarily while setting up the environment.
|
||||||
setup_host_systemd_service=no
|
setup_host_systemd_service=no
|
||||||
|
if [[ -n $SETUP_SYSTEMD ]] ; then
|
||||||
|
setup_host_systemd_service=yes
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# use the git describe as the binary version, you may override this with something else.
|
# use the git describe as the binary version, you may override this with something else.
|
||||||
tag=$(git describe --tags)
|
tag=$(git describe --tags)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user