ops: add isolated AnyTLS node onboarding workflow
This commit is contained in:
1 parent
e00c8d1e19
commit
dfdfbf2562
5 files changed
+172
No files matched your search
@@ -0,0 +1,25 @@
|
||||
[Unit]
|
||||
Description=dpl isolated AnyTLS node backend
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/var/lib/dpl-node
|
||||
EnvironmentFile=/etc/dpl-node/secret.env
|
||||
ExecStart=/opt/dpl-node/xboard-node -c /etc/dpl-node/config.yml
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
UMask=0077
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
ReadWritePaths=/var/lib/dpl-node
|
||||
MemoryHigh=450M
|
||||
MemoryMax=600M
|
||||
CPUQuota=100%
|
||||
LimitNOFILE=65536
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user