diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-02-22 20:56:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-02-22 20:58:49 +0000 |
commit | 1192e2475a0cf5b02810694e48cd58eb1b396198 (patch) | |
tree | 8b3f79d999584cb377ce0fb375e3d7396f03e4d8 /debian/ttyd.service | |
parent | Releasing debian version 1.6.3-2. (diff) | |
download | ttyd-1192e2475a0cf5b02810694e48cd58eb1b396198.tar.xz ttyd-1192e2475a0cf5b02810694e48cd58eb1b396198.zip |
Adding /etc/default/ttyd to handle options used to start ttyd via systemd unit.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/ttyd.service | 3 |
1 files changed, 2 insertions, 1 deletions
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 |