mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +00:00
38 lines
930 B
Desktop File
38 lines
930 B
Desktop File
[Unit]
|
|
Description=Polkadot Node
|
|
After=network.target
|
|
Documentation=https://github.com/paritytech/polkadot
|
|
|
|
[Service]
|
|
EnvironmentFile=-/etc/default/polkadot
|
|
ExecStart=/usr/bin/polkadot $POLKADOT_CLI_ARGS
|
|
User=polkadot
|
|
Group=polkadot
|
|
Restart=always
|
|
RestartSec=120
|
|
CapabilityBoundingSet=
|
|
LockPersonality=true
|
|
NoNewPrivileges=true
|
|
PrivateDevices=true
|
|
PrivateMounts=true
|
|
PrivateTmp=true
|
|
PrivateUsers=true
|
|
ProtectClock=true
|
|
ProtectControlGroups=true
|
|
ProtectHostname=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelTunables=true
|
|
ProtectSystem=strict
|
|
RemoveIPC=true
|
|
RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK AF_UNIX
|
|
RestrictNamespaces=true
|
|
RestrictSUIDSGID=true
|
|
SystemCallArchitectures=native
|
|
SystemCallFilter=@system-service
|
|
SystemCallFilter=landlock_add_rule landlock_create_ruleset landlock_restrict_self seccomp
|
|
SystemCallFilter=~@clock @module @mount @reboot @swap @privileged
|
|
UMask=0027
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|