From 00821e89989e5b63c1cb07ab35cc6a221fe544fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 9 May 2021 17:09:54 +0200 Subject: [PATCH] Move the contrib files into dedicated directories --- README.md | 6 +++--- contrib/{ => docker}/build-docker.sh | 0 contrib/{ => polkit}/10-acmed.rules | 0 contrib/{ => systemd}/acmed.service | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename contrib/{ => docker}/build-docker.sh (100%) rename contrib/{ => polkit}/10-acmed.rules (100%) rename contrib/{ => systemd}/acmed.service (100%) diff --git a/README.md b/README.md index 3ac410a..2846ab9 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ $ make $ make install ``` -To build ACMEd and tacd inside a temporary Docker container, use the `contrib/build-docker.sh` helper script. It currently supports Debian Buster / Stretch. +To build ACMEd and tacd inside a temporary Docker container, use the `contrib/docker/build-docker.sh` helper script. It currently supports Debian Buster / Stretch. ### Advanced options @@ -142,7 +142,7 @@ Most of the time, when packaging, you want to install the program in a dedicated make DESTDIR="/path/to/my/package/directory" install ``` -Packager tip: If you package ACMEd in a way it does not run as root, you might want to create another package that provides the Polkit rule file located in the `contrib` directory. This package should depends on both acmed and Polkit. +Packager tip: If you package ACMEd in a way it does not run as root, you might want to create another package that provides the Polkit rule file located in the `contrib/polkit` directory. This package should depends on both acmed and Polkit. ## Frequently Asked Questions @@ -194,7 +194,7 @@ The reason some services has such an option is because at startup they may have ### How can I run ACMEd with systemd? -An example service file is provided (see `contrib/acmed.service.example`). The file might need adjustments in order to work on your system (e.g. binary path, user, group, directories...), but it's probably a good starting point. +An example service file is provided (see `contrib/systemd/acmed.service`). The file might need adjustments in order to work on your system (e.g. binary path, user, group, directories...), but it's probably a good starting point. ### Does ACMEd uses any threading or parallelization? diff --git a/contrib/build-docker.sh b/contrib/docker/build-docker.sh similarity index 100% rename from contrib/build-docker.sh rename to contrib/docker/build-docker.sh diff --git a/contrib/10-acmed.rules b/contrib/polkit/10-acmed.rules similarity index 100% rename from contrib/10-acmed.rules rename to contrib/polkit/10-acmed.rules diff --git a/contrib/acmed.service b/contrib/systemd/acmed.service similarity index 100% rename from contrib/acmed.service rename to contrib/systemd/acmed.service