upgraded to ppm appinfo v3
This commit is contained in:
parent
17b1c0f5ab
commit
e91e293dda
2 changed files with 11 additions and 4 deletions
12
appinfo.yml
12
appinfo.yml
|
|
@ -1,9 +1,15 @@
|
|||
mainunit: nginx.service
|
||||
mainunitfile: nginx.service.j2
|
||||
version: 3
|
||||
mainunit: nginx
|
||||
enableunits:
|
||||
- nginx.service
|
||||
templatefiles:
|
||||
- src: nginx.conf.j2
|
||||
dest: ~/nginx.conf
|
||||
backuptype: none
|
||||
- src: nginx.service.j2
|
||||
dest: ~/.config/systemd/user/nginx.service
|
||||
plugins:
|
||||
- type: builtin
|
||||
name: backups_none
|
||||
configdefinition:
|
||||
"$id": "nginx config"
|
||||
"$schema": "http://json-schema.org/draft-07/schema#"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
[Unit]
|
||||
Description=Podman Compose based service
|
||||
After=network.target
|
||||
PartOf={{ mainunit }}
|
||||
|
||||
# Nginx is not started with podman compose
|
||||
# We start it on the host network, so we can access the ports exposed on localhost
|
||||
|
|
@ -19,4 +20,4 @@ Restart=always
|
|||
WorkingDirectory={{ homedir }}
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
WantedBy={{ mainunit }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue