Fix ExecStart command in dns-updater.service to properly handle environment variables
This commit is contained in:
@@ -8,7 +8,7 @@ Group=root
|
|||||||
WorkingDirectory=/opt/dns-updater
|
WorkingDirectory=/opt/dns-updater
|
||||||
Environment="MIAB_HOST=box.koszewscy.waw.pl"
|
Environment="MIAB_HOST=box.koszewscy.waw.pl"
|
||||||
Environment="STORAGE_ROOT=/miab-data"
|
Environment="STORAGE_ROOT=/miab-data"
|
||||||
ExecStart=/usr/bin/gunicorn --workers 4 --bind 0.0.0.0:8443 --certfile=$STORAGE_ROOT/ssl/ssl_certificate.pem --keyfile=$STORAGE_ROOT/ssl/ssl_private_key.pem app:app
|
ExecStart=/bin/sh -c '/usr/bin/gunicorn --workers 4 --bind 0.0.0.0:8443 --certfile="$STORAGE_ROOT/ssl/ssl_certificate.pem" --keyfile="$STORAGE_ROOT/ssl/ssl_private_key.pem" app:app'
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Reference in New Issue
Block a user