mirror of
https://github.com/step-security/harden-runner.git
synced 2026-06-06 01:47:05 +00:00
Create agent.service
This commit is contained in:
parent
7f0d19c283
commit
b40a7693aa
1 changed files with 15 additions and 0 deletions
15
dist/pre/agent.service
vendored
Normal file
15
dist/pre/agent.service
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=Agent
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/home/agent/agent
|
||||
WorkingDirectory=/home/agent
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
SyslogIdentifier=agentservice
|
||||
AmbientCapabilities=CAP_NET_BIND_SERVICE, CAP_NET_ADMIN
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue