From 0724da9ff50f7855435c962250ac649caeac8c11 Mon Sep 17 00:00:00 2001 From: finga Date: Mon, 22 Mar 2021 10:07:14 +0100 Subject: [PATCH] Add Rocket config parameters to service file That way also the listening address, port, etc. can be configured. --- webhookey.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webhookey.service b/webhookey.service index 57fcd0d..91530e2 100644 --- a/webhookey.service +++ b/webhookey.service @@ -9,6 +9,8 @@ Type=simple User=webhookey Group=webhookey Restart=always +Environment=ROCKET_ADDRESS=127.0.0.1 ROCKET_PORT=8000 +# Environment=ROCKET_ADDRESS=127.0.0.1 ROCKET_PORT=8000 ROCKET_TLS={certs="/path/to/certs.pem",key="/path/to/key.pem"} [Install] WantedBy=multi-user.target