summarylogtreecommitdiffstats
path: root/gitea.install
blob: 5c2138f1f6f1ea3a75e90863a577124b8cebe35d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
  systemd-sysusers gitea.conf
  systemd-tmpfiles --create gitea.conf
  chown -R gitea:gitea /var/log/gitea
  chown -R gitea:gitea /var/lib/gitea
  systemctl daemon-reload
  echo ":: Configure gitea in /var/lib/gitea/custom/conf/app.ini"
}

post_upgrade(){
  post_install $1
  echo ":: Consider restarting gitea.service"
}