From 06abad73e67f0ed13b4d24b46a9a6b72ebab1c75 Mon Sep 17 00:00:00 2001 From: "@RubenKelevra" Date: Fri, 1 May 2020 15:17:42 +0200 Subject: [PATCH] systemd: add helptext to the service file which explains how to make changes --- misc/systemd/ipfs.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/misc/systemd/ipfs.service b/misc/systemd/ipfs.service index 73109dccd..c2f0d6d23 100644 --- a/misc/systemd/ipfs.service +++ b/misc/systemd/ipfs.service @@ -1,3 +1,17 @@ +# This file will be overwritten on package upgrades, avoid customizations here. +# +# To make persistant changes, create file in +# "/etc/systemd/system/ipfs.service.d/overwrite.conf" with +# `systemctl edit ipfs.service`. This file will be parsed after this +# file has been parsed. +# +# To overwrite a variable, like ExecStart you have to specify it once +# blank and a second time with a new value, like: +# ExecStart= +# ExecStart=/usr/bin/ipfs daemon --flag1 --flag2 +# +# For more info about custom unit files see systemd.unit(5). + [Unit] Description=InterPlanetary File System (IPFS) daemon After=network.target