mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 02:54:23 +02:00
19 lines
360 B
Bash
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 $?
|
|
}
|