aports/community/grommunio-gromox/gromox-imap.initd
2024-12-16 16:26:45 +00:00

19 lines
360 B
Bash

#!/sbin/openrc-run
supervisor=supervise-daemon
name=$RC_SVCNAME
description="Gromox IMAP server"
description_reload="Reload configuration without exiting"
command="/usr/libexec/gromox/imap"
extra_started_commands="reload"
depend() {
after mariadb
}
reload() {
ebegin "Reloading configuration"
$supervisor $RC_SVCNAME --signal HUP
eend $?
}