~dricottone/huttese-apk

ref: 434435020100281b9066726a31d1e4f174ee9941 huttese-apk/sr.ht/searchhut/sh-web.initd -rw-r--r-- 276 bytes
43443502 — Drew DeVault searchhut: upgrade to 2b6407eacb6f1d682e56157421b408a8cc1cd3a8 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
#!/sbin/openrc-run
name="sh-web"
description="Search engine web frontend"
supervisor=supervise-daemon
command=/usr/bin/sh-web
command_user=searchhut:searchhut
directory="/usr/share/searchhut"

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