upgraded to ppm appinfo v3

This commit is contained in:
Peter 2026-05-26 23:53:39 +02:00
parent 17b1c0f5ab
commit e91e293dda
2 changed files with 11 additions and 4 deletions

View file

@ -1,9 +1,15 @@
mainunit: nginx.service version: 3
mainunitfile: nginx.service.j2 mainunit: nginx
enableunits:
- nginx.service
templatefiles: templatefiles:
- src: nginx.conf.j2 - src: nginx.conf.j2
dest: ~/nginx.conf dest: ~/nginx.conf
backuptype: none - src: nginx.service.j2
dest: ~/.config/systemd/user/nginx.service
plugins:
- type: builtin
name: backups_none
configdefinition: configdefinition:
"$id": "nginx config" "$id": "nginx config"
"$schema": "http://json-schema.org/draft-07/schema#" "$schema": "http://json-schema.org/draft-07/schema#"

View file

@ -1,6 +1,7 @@
[Unit] [Unit]
Description=Podman Compose based service Description=Podman Compose based service
After=network.target After=network.target
PartOf={{ mainunit }}
# Nginx is not started with podman compose # Nginx is not started with podman compose
# We start it on the host network, so we can access the ports exposed on localhost # We start it on the host network, so we can access the ports exposed on localhost
@ -19,4 +20,4 @@ Restart=always
WorkingDirectory={{ homedir }} WorkingDirectory={{ homedir }}
[Install] [Install]
WantedBy=default.target WantedBy={{ mainunit }}