~dricottone/huttese-apk

ref: 3c4b3a32ce6b35f087ae7cb6195b6f6c7e564ea2 huttese-apk/sr.ht/searchhut/sh-api.initd -rw-r--r-- 234 bytes
3c4b3a32 — Drew DeVault searchhut: new aport 2 years ago
                                                                                
3c4b3a32 Drew DeVault
1
2
3
4
5
6
7
8
9
10
#!/sbin/openrc-run
name="sh-api"
description="Search engine API"
supervisor=supervise-daemon
command=/usr/bin/sh-api
command_user=searchhut:searchhut

start_pre() {
	[ -n "$error_log" ] && checkpath -f -o $command_user "$error_log"
}