From 520fe3352bc0b6e6e8a1f0ef2a1bef205d5d20db Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sat, 27 Jan 2024 10:42:22 +0100 Subject: [PATCH] updated ipfs state --- states/ipfs/{ => templates}/ipfs.service.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename states/ipfs/{ => templates}/ipfs.service.j2 (67%) diff --git a/states/ipfs/ipfs.service.j2 b/states/ipfs/templates/ipfs.service.j2 similarity index 67% rename from states/ipfs/ipfs.service.j2 rename to states/ipfs/templates/ipfs.service.j2 index 7495b37..efca33d 100644 --- a/states/ipfs/ipfs.service.j2 +++ b/states/ipfs/templates/ipfs.service.j2 @@ -1,9 +1,9 @@ -## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }} +# --init# {{ salt['pillar.get']('salt_managed', default='Salt Managed') }} [Unit] Description=ipfs p2p daemon After=network.target Requires=network.target - + [Service] Type=simple User=ipfs @@ -13,9 +13,9 @@ PermissionsStartOnly=true Nice=18 LimitNOFILE=8192 Environment=IPFS_FD_MAX=8192 -EnvironmentFile=-/etc/sysconfig/ipfs +EnvironmentFile=-/etc/default/ipfs StandardOutput=journal ExecStart=/usr/local/sbin/ipfs daemon - + [Install] WantedBy=multi-user.target \ No newline at end of file