Browse Source

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.
Ilya Mateyko 5 years ago
parent
commit
b45c1cf327
1 changed files with 4 additions and 3 deletions
  1. 4 3
      packaging/systemd/miniflux.service

+ 4 - 3
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