debmaker/ressources/forgejo/rootfs/DEBIAN/postinst

7 lines
181 B
Text
Raw Permalink Normal View History

2023-06-12 15:30:48 +02:00
#!/bin/bash
id forgejo &> /dev/null || useradd forgejo -r -s /bin/false -d /var/lib/forgejo/
chown -R forgejo:forgejo /var/lib/forgejo/
chown forgejo:forgejo /etc/forgejo/app.ini