chore: initial import
This commit is contained in:
23
systemd/vaultmesh-node-agent.service
Normal file
23
systemd/vaultmesh-node-agent.service
Normal file
@@ -0,0 +1,23 @@
|
||||
[Unit]
|
||||
Description=VaultMesh Node Agent
|
||||
After=network-online.target cloudflared.service
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=exec
|
||||
ExecStart=/usr/local/bin/vaultmesh-node-agent
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
EnvironmentFile=/etc/vaultmesh/agent.env
|
||||
|
||||
# Hardening
|
||||
NoNewPrivileges=yes
|
||||
ProtectSystem=strict
|
||||
ProtectHome=yes
|
||||
PrivateTmp=yes
|
||||
ProtectKernelTunables=yes
|
||||
ProtectKernelModules=yes
|
||||
ProtectControlGroups=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user