From 1192e2475a0cf5b02810694e48cd58eb1b396198 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 22 Feb 2021 21:56:26 +0100 Subject: Adding /etc/default/ttyd to handle options used to start ttyd via systemd unit. Signed-off-by: Daniel Baumann --- debian/ttyd.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'debian/ttyd.service') diff --git a/debian/ttyd.service b/debian/ttyd.service index 4e05835..b09578e 100644 --- a/debian/ttyd.service +++ b/debian/ttyd.service @@ -5,7 +5,8 @@ After=network.target systemd-tmpfiles-clean.service [Service] Type=simple -ExecStart=/usr/bin/ttyd -i lo -p 7681 -O login +EnvironmentFile=-/etc/default/ttyd +ExecStart=/usr/bin/ttyd $TTYD_OPTIONS ExecReload=/usr/bin/kill -HUP $MAINPID KillMode=process LimitNOFILE=512 -- cgit v1.2.3