Skip to content
Snippets Groups Projects
Commit 1d4ed939 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

systemd: add KNOT_ prefix to ZONE_LOAD_TIMEOUT_SEC

parent e140c158
Branches
Tags
No related merge requests found
......@@ -16,7 +16,7 @@ ExecReload=/bin/kill -HUP $MAINPID
Restart=on-abort
LimitNOFILE=1048576
TimeoutStopSec=300
Environment="ZONE_LOAD_TIMEOUT_SEC=180"
Environment="KNOT_ZONE_LOAD_TIMEOUT_SEC=180"
[Install]
WantedBy=multi-user.target
......@@ -29,7 +29,7 @@ static int zone_load_timeout_s;
static int systemd_zone_load_timeout(void)
{
const char *timeout = getenv("ZONE_LOAD_TIMEOUT_SEC");
const char *timeout = getenv("KNOT_ZONE_LOAD_TIMEOUT_SEC");
int out;
if (timeout != NULL && timeout[0] != '\0' &&
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment