Skip to content

Commit 7119641

Browse files
authored
Merge pull request #3 from mig5/fix-routing-auto-bug
Fix routing condition in systemd unit file
2 parents 39dc91f + dc4ceed commit 7119641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/ipfs/etc/systemd/system/ipfs.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ MemoryMax={{ ipfs_memory_max }}
1414
{% endif %}
1515
MemorySwapMax=0
1616
Environment="IPFS_FD_MAX={{ ipfs_fd_max}}"
17-
ExecStart=/usr/local/bin/ipfs daemon --migrate {%- if ipfs_enable_gc | default(False) %} --enable-gc{% endif %} {%- if ipfs_routing | default(False) %} --routing{% ipfs_routing %}
17+
ExecStart=/usr/local/bin/ipfs daemon --migrate {%- if ipfs_enable_gc | default(False) %} --enable-gc{% endif %} {%- if ipfs_routing | default(False) %} --routing={{ ipfs_routing }}{% endif %}
1818

1919
Restart=on-failure
2020
KillSignal=SIGINT

0 commit comments

Comments
 (0)