Add searx-py3
This commit is contained in:
12
src/searx-py3/searx.install
Normal file
12
src/searx-py3/searx.install
Normal file
@@ -0,0 +1,12 @@
|
||||
post_install() {
|
||||
getent passwd searx >/dev/null || useradd -rb /usr/lib/python3.6/site-packages -s /usr/bin/nologin searx
|
||||
echo "Settings are at /etc/searx/settings.yml"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
echo "You may want to remove searx user"
|
||||
}
|
Reference in New Issue
Block a user