fix: make install rights
All checks were successful
Continuous Integration / lint_n_build (push) Successful in 20s
Continuous Delivery / build_n_upload (push) Successful in 22s

This commit is contained in:
2026-03-15 16:43:26 +01:00
parent 0c92b1072a
commit d8b747e315
2 changed files with 9 additions and 8 deletions

View File

@@ -73,8 +73,8 @@ install: ## Install files into rpm dest (requires env var DESTDIR)
printf "[CRITICAL] Missing env var DESTDIR\n[CRITICAL] This command is designed to be called by rpmbuild only!\n" 1>&2; \
exit 1; \
fi
install --directory $(DESTDIR)$(RPM_SYSCONFDIR)/nginx/conf.d $(DESTDIR)$(RPM_SYSCONFDIR)/certbot $(DESTDIR)$(RPM_UNITDIR) $(DESTDIR)$(RPM_SBINDIR)
install --mode=755 --target-directory=$(DESTDIR)$(RPM_SYSCONFDIR)/nginx/conf.d files/nginx/0_security.conf files/nginx/z_default.conf
install --mode=755 --directory $(DESTDIR)$(RPM_SYSCONFDIR)/nginx/conf.d $(DESTDIR)$(RPM_SYSCONFDIR)/certbot $(DESTDIR)$(RPM_UNITDIR) $(DESTDIR)$(RPM_SBINDIR)
install --mode=644 --target-directory=$(DESTDIR)$(RPM_SYSCONFDIR)/nginx/conf.d files/nginx/0_security.conf files/nginx/z_default.conf
install --mode=600 --target-directory=$(DESTDIR)$(RPM_SYSCONFDIR)/certbot files/certbot/ovh.ini
install --mode=644 --target-directory=$(DESTDIR)$(RPM_UNITDIR) files/systemd/certbot-renew.service files/systemd/certbot-renew.timer
install --mode=755 --target-directory=$(DESTDIR)$(RPM_SBINDIR) files/sbin/certbot_renew

View File

@@ -48,15 +48,16 @@ A `Makefile` is integrated to let you run some basic commands.
Two workflows are set up.
- Continuous Integration:
- triggered by each push on branch `main`
- runs shellcheck on script `certbot_renew`
- builds tarball and rpm package to test everything is OK
- triggered by each push event on branch `main`
- runs shellcheck
- builds tarball
- builds rpm package
- Continuous Delivery:
- triggered by each tag pushed
- triggered by each tag push event
- builds tarball
- builds and uploads rpm package to `Gitea` repository
- builds rpm package
- uploads rpm package to repository
# Deployment