feature: added installation command and service files

This commit is contained in:
frosty
2026-03-16 22:26:00 -04:00
parent 916c815b08
commit 0317ff26d5
8 changed files with 158 additions and 2 deletions

19
init/openrc/omnisearch Executable file
View File

@@ -0,0 +1,19 @@
#!/sbin/openrc-run
name=omnisearch
description="Omnisearch Web Search Server"
command="/usr/bin/omnisearch"
command_background=yes
pidfile="/run/${RC_SVCNAME}.pid"
output_log="/var/log/omnisearch/omnisearch.log"
error_log="/var/log/omnisearch/omnisearch.err"
user=omnisearch
group=omnisearch
directory=/etc/omnisearch
respawn_delay=5
respawn_max=10
depend() {
need net
after firewall
}