-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Debian package installer to handle upgrade scenarios better (#…
…279) * Move postremove actions to postpurge * Add systemd service definition file * Compress Debian package generated, add URL to GitHub, and generate changelog file * Added documentation link, and changed restart/timeout parameters Co-authored-by: @ankurdotb
- Loading branch information
Andrew Nikitin
authored
Feb 8, 2022
1 parent
3d31d0f
commit 0156e84
Showing
4 changed files
with
30 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[Unit] | ||
Description=Service for running cheqd-node daemon | ||
After=network.target | ||
Documentation=https://docs.cheqd.io/node | ||
|
||
[Service] | ||
Type=simple | ||
User=cheqd | ||
ExecStart=/usr/bin/cheqd-noded start | ||
Restart=on-failure | ||
RestartSec=30 | ||
StartLimitBurst=5 | ||
StartLimitInterval=60 | ||
TimeoutSec=120 | ||
StandardOutput=syslog | ||
StandardError=syslog | ||
SyslogFacility=syslog | ||
SyslogIdentifier=cheqd-noded | ||
LimitNOFILE=65535 | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters