mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 19:36:48 +02:00
21 lines
460 B
Bash
21 lines
460 B
Bash
#!/sbin/openrc-run
|
|
|
|
name="GmCapsule"
|
|
description="Extensible Python-based Gemini/Titan server"
|
|
|
|
command="/usr/bin/gmcapsuled"
|
|
command_args="-c $CONFIGFILE $ARGS"
|
|
command_background="yes"
|
|
command_user="gmcapsule"
|
|
pidfile="/run/$RC_SVCNAME.pid"
|
|
output_log="/var/log/gmcapsule/output.log"
|
|
error_log="/var/log/gmcapsule/error.log"
|
|
|
|
depend() {
|
|
need net
|
|
after firewall
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath --directory -m 755 -o "gmcapsule:gmcapsule" "/var/log/gmcapsule"
|
|
}
|