summarylogtreecommitdiffstats
path: root/searx.install
blob: e429034b58ed23b4d0ae062013413062c3c1a061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
  getent passwd searx > /dev/null ||
    useradd -rb /usr/lib/python2.7/site-packages -s /sbin/nologin searx

  echo "Settings are at /etc/searx/settings.yml"
}

post_upgrade() {
  post_install
}

post_remove() {
  echo "You may want to remove the searx user."
}