systemd: add helptext to the service file which explains how to make changes
@RubenKelevra committed
May 1, 2020 at 15:17 UTC
06abad73e67f0ed13b4d24b46a9a6b72ebab1c75
1 file changed
+14
misc/systemd/ipfs.service
+14
@@ -1,3 +1,17 @@
1
+# This file will be overwritten on package upgrades, avoid customizations here.
2
+#
3
+# To make persistant changes, create file in
4
+# "/etc/systemd/system/ipfs.service.d/overwrite.conf" with
5
+# `systemctl edit ipfs.service`. This file will be parsed after this
6
+# file has been parsed.
7
+#
8
+# To overwrite a variable, like ExecStart you have to specify it once
9
+# blank and a second time with a new value, like:
10
+# ExecStart=
11
+# ExecStart=/usr/bin/ipfs daemon --flag1 --flag2
12
+#
13
+# For more info about custom unit files see systemd.unit(5).
14
+
15
[Unit]
16
Description=InterPlanetary File System (IPFS) daemon
17
After=network.target