summarylogtreecommitdiffstats
path: root/jenkins.install
blob: 48c5bfa521307a125c79d43ec238680a3820429f (plain)
1
2
3
4
5
6
7
post_install() {
  # We need to know uid and gid to create /var/lib/jenkins with proper
  # permissions. So keep systemd-sysusers invocation here despite having
  # pacman hooks.
  systemd-sysusers jenkins.conf
  [[ -d var/lib/jenkins ]] || install -dm 750 -o jenkins -g jenkins var/lib/jenkins
}