mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-11-22 00:39:54 +00:00
sync: mirror deployed github repo (chains + sanitized bridge), keep GitLab CI
Make this monorepo's tracked tree identical to the deployed github repo (github.com/pezkuwichain/pezkuwi-DKS): all RC/AH/People runtimes and framework carry the mainnet fixes (incl. U128CurrencyToVote everywhere, so the staking election stall cannot recur), and tools/usdt-bridge matches the current, public-safe custody tooling (real config/deploy units gitignored, secret-file locations and server IPs stripped, sanitized *.example templates committed). Only exception to the mirror: GitLab-native CI is preserved (.gitlab-ci.yml and .gitlab/), to be rebuilt to match the github CI pipeline in a follow-up.
This commit is contained in:
1 parent
82543bdfab
commit
d285d59108
736 files changed
+15082
-16359
No files matched your search
@@ -0,0 +1,49 @@
|
||||
# PezbridgeBot — example systemd unit.
|
||||
# Read-only allowance-renewal notifier: reads chain state and sends Telegram alerts when the
|
||||
# automation-key allowance needs a 3-of-5-signed renewal. Holds NO signing key and cannot submit
|
||||
# anything. Copy to /etc/systemd/system/, fill in <PLACEHOLDERS>, provide the Telegram token
|
||||
# ONLY via the EnvironmentFile below (never in the repo).
|
||||
[Unit]
|
||||
Description=PezbridgeBot - allowance renewal notifier (holds no key)
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=<service-user>
|
||||
Group=<service-group>
|
||||
WorkingDirectory=<WORKDIR>
|
||||
ExecStart=<BIN_DIR>/pezbridge-bot
|
||||
Environment=PEZBRIDGE_CONFIG=<CONFIG_PATH>/pezbridge_bot_config.json
|
||||
Environment=RUST_LOG=info
|
||||
EnvironmentFile=<SECRETS_DIR>/telegram_token.env
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
||||
# Hardening (recommended baseline)
|
||||
NoNewPrivileges=yes
|
||||
ProtectSystem=strict
|
||||
ProtectHome=yes
|
||||
PrivateTmp=yes
|
||||
PrivateDevices=yes
|
||||
ProtectKernelTunables=yes
|
||||
ProtectKernelModules=yes
|
||||
ProtectKernelLogs=yes
|
||||
ProtectControlGroups=yes
|
||||
ProtectClock=yes
|
||||
ProtectHostname=yes
|
||||
RestrictSUIDSGID=yes
|
||||
RemoveIPC=yes
|
||||
LockPersonality=yes
|
||||
RestrictRealtime=yes
|
||||
RestrictNamespaces=yes
|
||||
MemoryDenyWriteExecute=yes
|
||||
SystemCallFilter=@system-service
|
||||
SystemCallArchitectures=native
|
||||
CapabilityBoundingSet=
|
||||
AmbientCapabilities=
|
||||
ReadWritePaths=<WORKDIR>
|
||||
UMask=0077
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user