tang: make sure output and errors are logged to system log

Currently, there is no logging at all, causing difficulties with
troubleshooting. Edit originally proposed by @q-b #26076
(comment) and implemented by @rugk #27401

Signed-off-by: Thomas Winkler <tewinkler86@gmail.com>
This commit is contained in:
Thomas Winkler
2025-12-15 06:39:41 +01:00
committed by Nikos Mavrogiannopoulos
parent aa1acc0f21
commit 68b538b3ed

View File

@@ -21,5 +21,7 @@ start_service() {
procd_set_param command /usr/sbin/tangd -p "${port}" -l /usr/share/tang/db
procd_set_param respawn
procd_set_param user tang
procd_set_param stderr 1
procd_set_param stdout 1
procd_close_instance
}