48 lines
1.1 KiB
Desktop File
48 lines
1.1 KiB
Desktop File
[Unit]
|
|
Description=Sea vHost aaPanel capability broker
|
|
After=network-online.target
|
|
Before=sea-vhost-api.service
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=sea-vhost-panel
|
|
Group=sea-vhost-panel-control
|
|
SupplementaryGroups=sea-vhost-control
|
|
EnvironmentFile=/etc/sea-vhost/sea-vhost.env
|
|
ExecStart=/opt/sea-vhost/bin/sea-vhost-panel-broker
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
RuntimeDirectory=sea-vhost-panel
|
|
RuntimeDirectoryMode=0750
|
|
StateDirectory=sea-vhost-panel
|
|
StateDirectoryMode=0700
|
|
UMask=0077
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
PrivateDevices=true
|
|
ProtectProc=invisible
|
|
ProcSubset=pid
|
|
ProtectClock=true
|
|
ProtectHostname=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
RestrictSUIDSGID=true
|
|
RestrictRealtime=true
|
|
LockPersonality=true
|
|
MemoryDenyWriteExecute=true
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
|
IPAddressDeny=any
|
|
IPAddressAllow=localhost
|
|
CapabilityBoundingSet=
|
|
AmbientCapabilities=
|
|
LimitCORE=0
|
|
SystemCallArchitectures=native
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|