From 5e7fe8d1d256bcc146d6e64ff043c2c6208aafee Mon Sep 17 00:00:00 2001 From: gravel Date: Fri, 26 May 2023 16:24:38 +0200 Subject: [PATCH] Move systemd into etc --- CONTRIBUTING.md | 4 +++- {systemd => etc/systemd}/session_sudoers | 0 {systemd => etc/systemd}/sessioncommunities.service | 0 {systemd => etc/systemd}/sessioncommunities.timer | 0 4 files changed, 3 insertions(+), 1 deletion(-) rename {systemd => etc/systemd}/session_sudoers (100%) rename {systemd => etc/systemd}/sessioncommunities.service (100%) rename {systemd => etc/systemd}/sessioncommunities.timer (100%) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 540e87b..70f1049 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -35,12 +35,14 @@ Run at least once: `make fetch` to query servers. This can take around 5 minutes Run when developing: `make dev` to watch for changes & serve HTML locally in browser. +Symlink the commit hook provided in [`etc/hooks`](etc/hooks/) to `.git/hooks/` to run a full test cycle when committing to main. + See [`Makefile`](Makefile) for more details. ### Running your own copy - point your webserver at the [`output`](output/) folder -- install and enable systemd services from the [`systemd`](systemd/) folder or an equivalent timer +- install and enable systemd services from the [`etc/systemd`](etc/systemd/) folder or an equivalent timer ## Code style guidelines diff --git a/systemd/session_sudoers b/etc/systemd/session_sudoers similarity index 100% rename from systemd/session_sudoers rename to etc/systemd/session_sudoers diff --git a/systemd/sessioncommunities.service b/etc/systemd/sessioncommunities.service similarity index 100% rename from systemd/sessioncommunities.service rename to etc/systemd/sessioncommunities.service diff --git a/systemd/sessioncommunities.timer b/etc/systemd/sessioncommunities.timer similarity index 100% rename from systemd/sessioncommunities.timer rename to etc/systemd/sessioncommunities.timer