From b45c1cf3274e6d8159c8670995c21c262d365cbf Mon Sep 17 00:00:00 2001 From: Ilya Mateyko Date: Mon, 25 Jan 2021 12:08:34 +0000 Subject: [PATCH] Use `systemctl edit` for editing systemd config file This is safer than directly editing the package-supplied version. See https://wiki.archlinux.org/index.php/Systemd#Editing_provided_units. --- packaging/systemd/miniflux.service | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packaging/systemd/miniflux.service b/packaging/systemd/miniflux.service index d160b5e4..7123465a 100644 --- a/packaging/systemd/miniflux.service +++ b/packaging/systemd/miniflux.service @@ -1,7 +1,8 @@ # Changing the systemd config can be done like this: -# 1) Edit the config file: vim /usr/lib/systemd/system/miniflux.service -# 2) Reload systemd: systemctl daemon-reload -# 3) Restart the process: systemctl restart miniflux +# 1) Edit the config file: systemctl edit --full miniflux +# 2) Restart the process: systemctl restart miniflux +# All your changes can be reverted with `systemctl revert miniflux.service`. +# See https://wiki.archlinux.org/index.php/Systemd#Editing_provided_units. [Unit] Description=Miniflux Feed Reader