debmaker/ressources/gitea/rootfs/DEBIAN/postinst

6 lines
126 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/