summarylogtreecommitdiffstats
path: root/traefik.install
blob: 66a633ceded734296c13de72e7f80a64d96ff2ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
  getent group traefik >/dev/null || groupadd -r traefik
  getent passwd traefik >/dev/null || useradd -g traefik -r -M -s /bin/false traefik
  chown traefik:traefik /var/log/traefik
}

post_upgrade() {
  post_install
}

post_remove() {
  userdel traefik
}