summarylogtreecommitdiffstats
path: root/agentgateway.service
blob: 8a4320877b42eef117e41ac31c37682d93b6888d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[Unit]
Description=AgentGateway Service
Documentation=https://github.com/agentgateway/agentgateway
After=network.target
Wants=network.target

[Service]
Type=simple
User=agentgateway
Group=agentgateway
ExecStart=/usr/bin/agentgateway -f /etc/agentgateway/agentgateway.yaml
WorkingDirectory=/var/lib/agentgateway
Restart=always
RestartSec=3
StandardOutput=journal
StandardError=journal

# Security options
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/var/lib/agentgateway /etc/agentgateway /tmp

[Install]
WantedBy=multi-user.target