Skip to content

Commit

Permalink
systemd: add longer stop timeout + helptext
Browse files Browse the repository at this point in the history
- the default timeout of 1 minute 30 seconds is too short for clean shutdowns in some circumstances.
- add help text which explains to the user how to create an override file
  • Loading branch information
RubenKelevra committed May 5, 2020
1 parent 06abad7 commit 429013d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion misc/systemd/ipfs.service
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ After=network.target
Type=notify
User=ipfs
Group=ipfs
TimeoutStartSec=15min
TimeoutStopSec=15min
TimeoutAbortSec=15min
WorkingDirectory=/var/lib/ipfs
ExecStart=/usr/bin/ipfs daemon --init --migrate
ExecStart=/usr/bin/ipfs daemon --init
Restart=on-failure
KillSignal=SIGINT

Expand Down

0 comments on commit 429013d

Please sign in to comment.