mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
pass morty key as env variable
This commit is contained in:
parent
7bf4e8d12d
commit
59c305391f
1 changed files with 2 additions and 2 deletions
|
@ -10,10 +10,10 @@ Type=simple
|
|||
User=${SERVICE_USER}
|
||||
Group=${SERVICE_GROUP}
|
||||
WorkingDirectory=${SERVICE_HOME}
|
||||
ExecStart=${SERVICE_HOME}/go-apps/bin/morty -key '${MORTY_KEY}' -listen '${MORTY_LISTEN}' -timeout ${MORTY_TIMEOUT}
|
||||
ExecStart=${SERVICE_HOME}/go-apps/bin/morty -listen '${MORTY_LISTEN}' -timeout ${MORTY_TIMEOUT}
|
||||
|
||||
Restart=always
|
||||
Environment=USER=${SERVICE_USER} HOME=${SERVICE_HOME} DEBUG=${SERVICE_ENV_DEBUG}
|
||||
Environment=USER=${SERVICE_USER} HOME=${SERVICE_HOME} DEBUG=${SERVICE_ENV_DEBUG} MORTY_KEY=${MORTY_KEY}
|
||||
|
||||
# Some distributions may not support these hardening directives. If you cannot
|
||||
# start the service due to an unknown option, comment out the ones not supported
|
||||
|
|
Loading…
Add table
Reference in a new issue