Skip to content

Commit a08b64e

Browse files
committed
Update ipfs service file
1 parent 75c9107 commit a08b64e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@ Description=IPFS daemon
33
After=network.target
44

55
[Service]
6+
Type=notify
7+
User=ipfs
8+
Group=ipfs
9+
StateDirectory=ipfs
610
LimitNOFILE={{ ipfs_fd_max }}
11+
MemorySwapMax=0
712
Environment="IPFS_FD_MAX={{ ipfs_fd_max}}"
813
ExecStart=/usr/local/bin/ipfs daemon --migrate
914
Restart=on-failure
10-
User=ipfs
15+
KillSignal=SIGINT
1116

1217
[Install]
1318
WantedBy=multi-user.target

0 commit comments

Comments
 (0)