debmaker/ressources/forgejo/rootfs/DEBIAN/postinst

7 lines
181 B
Bash
Executable File

#!/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