Files
at-container-registry/deploy/upcloud/systemd/appview.service.tmpl
2026-02-07 22:45:10 -06:00

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