2 Commits

Author SHA1 Message Date
641ac4adb6 fix: forgejo web command
Some checks failed
Continuous Delivery / build_n_upload (push) Has been cancelled
2026-03-03 01:34:18 +01:00
bb55579880 fix: usermod command syntax
Some checks failed
Continuous Delivery / build_n_upload (push) Has been cancelled
2026-03-03 01:28:21 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
[Service] [Service]
ExecStart= ExecStart=
ExecStart=/usr/local/bin/forgejo web --config /etc/forgejo/conf/netoik_app.ini ExecStart=/usr/bin/forgejo web --config /etc/forgejo/conf/netoik_app.ini

View File

@@ -26,7 +26,7 @@ Install the Git UI server called Forgejo (fork of Gitea).
chgrp forgejo %{_sysconfdir}/forgejo/conf/netoik_app.ini chgrp forgejo %{_sysconfdir}/forgejo/conf/netoik_app.ini
# Add user forgejo to db groups # Add user forgejo to db groups
usermod --groups postgres valkey --append forgejo usermod --groups postgres,valkey --append forgejo
# Create postgres user and db # Create postgres user and db
if ! runuser --user=postgres -- psql --quiet --tuples-only --command='\du' | grep --quiet forgejo; then if ! runuser --user=postgres -- psql --quiet --tuples-only --command='\du' | grep --quiet forgejo; then