mirror of
https://github.com/hassio-addons/addon-traccar.git
synced 2025-05-04 19:11:31 +00:00
🔨 Refactor of init scripts
This commit is contained in:
parent
9ae7c0635c
commit
818b2432a8
3 changed files with 2 additions and 6 deletions
|
@ -1,6 +0,0 @@
|
|||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Community Hass.io Add-ons: Traccar
|
||||
# This files check if all user configuration requirements are met
|
||||
# ==============================================================================
|
||||
bashio::config.require.ssl
|
|
@ -7,6 +7,8 @@ declare certfile
|
|||
declare keyfile
|
||||
declare port
|
||||
|
||||
bashio::config.require.ssl
|
||||
|
||||
if bashio::config.true 'ssl'; then
|
||||
rm /etc/nginx/nginx.conf
|
||||
mv /etc/nginx/nginx-ssl.conf /etc/nginx/nginx.conf
|
Loading…
Add table
Add a link
Reference in a new issue