Add searx-py3

This commit is contained in:
moparisthebest
2017-11-26 12:53:48 -05:00
parent e98c3ee1eb
commit 620567183b
3 changed files with 86 additions and 0 deletions

View 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"
}