-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
315 additions
and
14 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
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
47 changes: 47 additions & 0 deletions
47
state-chain/node/package/perseverance/chainflip-genesis-node.service
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,47 @@ | ||
[Unit] | ||
Description=Chainflip Genesis Node | ||
|
||
[Service] | ||
Restart=always | ||
RestartSec=30 | ||
|
||
User=flip | ||
Group=flip | ||
|
||
WorkingDirectory=/etc/chainflip | ||
|
||
ExecStart=/usr/bin/chainflip-node \ | ||
--chain=/etc/chainflip/perseverance.chainspec.json \ | ||
--base-path=/etc/chainflip/chaindata \ | ||
--node-key-file=/etc/chainflip/keys/node_key_file \ | ||
--validator \ | ||
--trie-cache-size=0 \ | ||
--sync=full | ||
|
||
NoNewPrivileges=yes | ||
CapabilityBoundingSet= | ||
SystemCallArchitectures=native | ||
SystemCallFilter=@system-service | ||
|
||
PrivateDevices=yes | ||
PrivateUsers=yes | ||
PrivateTmp=yes | ||
|
||
ProtectClock=yes | ||
ProtectHome=true | ||
ProtectKernelLogs=yes | ||
ProtectKernelModules=yes | ||
ProtectKernelTunables=yes | ||
ProtectHostname=yes | ||
ProtectControlGroups=yes | ||
|
||
RestrictNamespaces=yes | ||
RestrictRealtime=yes | ||
RestrictSUIDSGID=yes | ||
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX AF_NETLINK | ||
|
||
StandardOutput=journal | ||
StandardError=journal | ||
|
||
[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
47 changes: 47 additions & 0 deletions
47
state-chain/node/package/sisyphos/chainflip-genesis-node.service
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,47 @@ | ||
[Unit] | ||
Description=Chainflip Genesis Node | ||
|
||
[Service] | ||
Restart=always | ||
RestartSec=30 | ||
|
||
User=flip | ||
Group=flip | ||
|
||
WorkingDirectory=/etc/chainflip | ||
|
||
ExecStart=/usr/bin/chainflip-node \ | ||
--chain=/etc/chainflip/sisyphos.chainspec.json \ | ||
--base-path=/etc/chainflip/chaindata \ | ||
--node-key-file=/etc/chainflip/keys/node_key_file \ | ||
--validator \ | ||
--trie-cache-size=0 \ | ||
--sync=full | ||
|
||
NoNewPrivileges=yes | ||
CapabilityBoundingSet= | ||
SystemCallArchitectures=native | ||
SystemCallFilter=@system-service | ||
|
||
PrivateDevices=yes | ||
PrivateUsers=yes | ||
PrivateTmp=yes | ||
|
||
ProtectClock=yes | ||
ProtectHome=true | ||
ProtectKernelLogs=yes | ||
ProtectKernelModules=yes | ||
ProtectKernelTunables=yes | ||
ProtectHostname=yes | ||
ProtectControlGroups=yes | ||
|
||
RestrictNamespaces=yes | ||
RestrictRealtime=yes | ||
RestrictSUIDSGID=yes | ||
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX AF_NETLINK | ||
|
||
StandardOutput=journal | ||
StandardError=journal | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
Oops, something went wrong.