debmaker/ressources/gitea/rootfs/DEBIAN/postinst

7 lines
163 B
Text
Raw Normal View History

2022-03-04 21:47:14 +01:00
#!/bin/bash
id gitea &> /dev/null || useradd gitea -r -s /bin/false -d /var/lib/gitea/
chown -R gitea:gitea /var/lib/gitea/
2022-03-04 23:16:27 +01:00
chown gitea:gitea /etc/gitea/app.ini