29 lines
603 B
Desktop File
29 lines
603 B
Desktop File
[Unit]
|
|
Description=HexaHost GameCloud Node Agent
|
|
Documentation=https://github.com/hexahost/gamecloud
|
|
After=network-online.target docker.service
|
|
Wants=network-online.target
|
|
Requires=docker.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=hexahost
|
|
Group=hexahost
|
|
EnvironmentFile=/etc/hexahost-gamecloud/node-agent.env
|
|
ExecStart=/usr/local/bin/hexahost-node-agent
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
TimeoutStopSec=60
|
|
KillMode=mixed
|
|
|
|
# Hardening
|
|
NoNewPrivileges=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
PrivateTmp=true
|
|
ReadWritePaths=/var/lib/hexahost-gamecloud
|
|
AmbientCapabilities=
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|