Files
zyxhere💭 a946011e75 net-im/zendrite: update OpenRC script, remove keepdir and fowner
- move the supervisor call from the conf file to the init file, it
  should not be togglable by users
- use $output_log and $error_log instead of passing args to supervise-
  daemon to log zendrite's stdout/error
- move the config file check to a dedicated checkconfig() function and
  run it at start_pre() and stop_pre() like shown in [1]
- instead of using keepdir and fowners on file in /var do it in the
  init script instead with checkconfig

Removed the fowner calls especially since them being on REPEND instead
of BDEPEND could cause issues with cross-compiling.

[1]: https://github.com/OpenRC/openrc/blob/master/service-script-guide.md#dont-restartreload-with-a-broken-config

Part-off: https://codeberg.org/gentoo/guru/pulls/101
Merges: https://codeberg.org/gentoo/guru/pulls/101
Reviewerd-by: Niklaus 'vimja' Hofer <gentoo-bugzilla@vimja.email>
Signed-off-by: zyxhere💭 <zyx@envs.net>
2026-10-05 14:03:10 +05:00
..