33 lines
827 B
Desktop File
33 lines
827 B
Desktop File
[Unit]
|
|
Description=Sea vHost stateless execution node
|
|
After=network-online.target sea-vhost-agent.service sea-vhost-panel-broker.service
|
|
Requires=sea-vhost-agent.service sea-vhost-panel-broker.service
|
|
|
|
[Service]
|
|
User=sea-vhost
|
|
Group=sea-vhost-control
|
|
SupplementaryGroups=sea-vhost-agent-control sea-vhost-panel-control
|
|
EnvironmentFile=/etc/sea-vhost/sea-vhost.env
|
|
ExecStart=/opt/sea-vhost/bin/sea-vhost-node
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
UMask=0007
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
PrivateDevices=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ProtectProc=invisible
|
|
ProcSubset=pid
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectControlGroups=true
|
|
RestrictSUIDSGID=true
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
|
CapabilityBoundingSet=
|
|
AmbientCapabilities=
|
|
LimitCORE=0
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|