feat: import Sea vHost single-server testing release

This commit is contained in:
canglan committed 2026-10-30 08:39:10 +08:00
commit 248badd33e
441 files changed
+63221

No files matched your search

@@ -0,0 +1,34 @@
[Unit]
Description=Sea vHost controller
After=network-online.target
Wants=network-online.target
[Service]
User=sea-vhost
Group=sea-vhost-control
EnvironmentFile=/etc/sea-vhost/sea-vhost.env
ExecStart=/opt/sea-vhost/bin/sea-vhost-api
WorkingDirectory=/opt/sea-vhost
Restart=on-failure
RestartSec=3
StateDirectory=sea-vhost
StateDirectoryMode=0700
UMask=0077
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