Skip to content

Commit 16bca44

Browse files
mig5madoke
authored andcommitted
Allow setting --routing=auto (for example) in systemd file
1 parent fea77b4 commit 16bca44

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 %}
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 %}
1818

1919
Restart=on-failure
2020
KillSignal=SIGINT

0 commit comments

Comments
 (0)