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