mirror of
https://git.bwaaa.monster/omnisearch
synced 2026-03-25 17:19:02 +02:00
docs+fix: update README.md, fix s6 and runit services
This commit is contained in:
32
README.md
32
README.md
@@ -11,6 +11,38 @@ Create a config.ini, there is an example included in the root.
|
||||
- beaker [(source)](https://git.bwaaa.monster/beaker/)
|
||||
|
||||
# First Setup
|
||||
Depending on your system, you may first need to install libcurl and libxml2.
|
||||
|
||||
### Arch Linux
|
||||
```
|
||||
# pacman -S libxml2 libcurl
|
||||
```
|
||||
|
||||
### Debian/Ubuntu
|
||||
```
|
||||
# apt install libxml2-dev libcurl4-openssl-dev
|
||||
```
|
||||
|
||||
### Fedora
|
||||
```
|
||||
# dnf install libxml2-devel libcurl-devel
|
||||
```
|
||||
|
||||
### openSUSE
|
||||
```
|
||||
# zypper install libxml2-devel libcurl-devel
|
||||
```
|
||||
|
||||
### Alpine
|
||||
```
|
||||
# apk add libxml2-dev curl-dev
|
||||
```
|
||||
|
||||
### Void
|
||||
```
|
||||
# xbps-install -S libxml2-devel libcurl-devel
|
||||
```
|
||||
|
||||
Firstly, install libbeaker:
|
||||
```
|
||||
$ git clone https://git.bwaaa.monster/beaker
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
#!/bin/sh
|
||||
exec chpst -u omnisearch:omnisearch /usr/bin/omnisearch 2>&1
|
||||
cd /etc/omnisearch
|
||||
exec chpst -u omnisearch:omnisearch /usr/bin/omnisearch
|
||||
@@ -1,3 +1,4 @@
|
||||
#! /bin/execlineb -P
|
||||
foreground { s6-setsid -g }
|
||||
exec -c chpst -u omnisearch:omnisearch /usr/bin/omnisearch
|
||||
cd /etc/omnisearch
|
||||
exec s6-setuidgid omnisearch /usr/bin/omnisearch
|
||||
Reference in New Issue
Block a user