mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-30 04:52:27 +01:00
url: https://git.sr.ht/~gsthnz/satellite pkgdesc: Satellite is a small Gemini server for serving static files
18 lines
397 B
Plaintext
18 lines
397 B
Plaintext
#!/sbin/openrc-run
|
|
name="satellite"
|
|
description="satellite gemini service"
|
|
supervisor=supervise-daemon
|
|
command="/usr/bin/$name"
|
|
command_user="satellite:satellite"
|
|
pidfile="/run/$name.pid"
|
|
start_stop_daemon_args="--stdout $satellite_log_file --stderr $satellite_log_file"
|
|
|
|
depend() {
|
|
need net
|
|
after firewall
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath -f -m 0644 -o ${SVCNAME}:${SVCNAME} "$satellite_log_file"
|
|
}
|