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-26 08:38:11 +0000 |
commit | cfc888941d2df3b088b69b8fb9e4e84c8bc7cdbc (patch) | |
tree | b7b83836b0902ac1840468bb315649b93ae7ae9d /debian/ttyd.service | |
parent | Releasing debian version 1.6.3-2. (diff) | |
download | ttyd-cfc888941d2df3b088b69b8fb9e4e84c8bc7cdbc.tar.xz ttyd-cfc888941d2df3b088b69b8fb9e4e84c8bc7cdbc.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..25956c7 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 |