mirror of
https://tangled.org/evan.jarrett.net/at-container-registry
synced 2026-04-20 16:40:29 +00:00
26 lines
517 B
Cheetah
26 lines
517 B
Cheetah
[Unit]
|
|
Description={{.DisplayName}} Scanner (Vulnerability Scanning)
|
|
After=network-online.target {{.HoldServiceName}}.service
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User={{.User}}
|
|
Group={{.User}}
|
|
ExecStart={{.BinaryPath}} serve --config {{.ConfigPath}}
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
|
|
ReadWritePaths={{.DataDir}}
|
|
ProtectSystem=strict
|
|
ProtectHome=yes
|
|
NoNewPrivileges=yes
|
|
PrivateTmp=yes
|
|
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier={{.ServiceName}}
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|