fix: make install rights
This commit is contained in:
4
Makefile
4
Makefile
@@ -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; \
|
printf "[CRITICAL] Missing env var DESTDIR\n[CRITICAL] This command is designed to be called by rpmbuild only!\n" 1>&2; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
install --directory $(DESTDIR)$(RPM_SYSCONFDIR)/nginx/conf.d $(DESTDIR)$(RPM_SYSCONFDIR)/certbot $(DESTDIR)$(RPM_UNITDIR) $(DESTDIR)$(RPM_SBINDIR)
|
install --mode=755 --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=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=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=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
|
install --mode=755 --target-directory=$(DESTDIR)$(RPM_SBINDIR) files/sbin/certbot_renew
|
||||||
|
|||||||
13
README.md
13
README.md
@@ -48,15 +48,16 @@ A `Makefile` is integrated to let you run some basic commands.
|
|||||||
Two workflows are set up.
|
Two workflows are set up.
|
||||||
|
|
||||||
- Continuous Integration:
|
- Continuous Integration:
|
||||||
- triggered by each push on branch `main`
|
- triggered by each push event on branch `main`
|
||||||
- runs shellcheck on script `certbot_renew`
|
- runs shellcheck
|
||||||
- builds tarball and rpm package to test everything is OK
|
- builds tarball
|
||||||
|
- builds rpm package
|
||||||
|
|
||||||
- Continuous Delivery:
|
- Continuous Delivery:
|
||||||
- triggered by each tag pushed
|
- triggered by each tag push event
|
||||||
- builds tarball
|
- builds tarball
|
||||||
- builds and uploads rpm package to `Gitea` repository
|
- builds rpm package
|
||||||
|
- uploads rpm package to repository
|
||||||
|
|
||||||
|
|
||||||
# Deployment
|
# Deployment
|
||||||
|
|||||||
Reference in New Issue
Block a user