upgrade appinfo to v3
This commit is contained in:
parent
06092b947e
commit
feba431ecb
3 changed files with 14 additions and 4 deletions
12
appinfo.yml
12
appinfo.yml
|
|
@ -1,5 +1,11 @@
|
|||
mainunit: forgejo.service
|
||||
mainunitfile: forgejo.service.j2
|
||||
version: 3
|
||||
mainunit: forgejo
|
||||
enableunits:
|
||||
- forgejo.service
|
||||
- forgejo-watch-sshkeys.service
|
||||
plugins:
|
||||
- type: builtin
|
||||
name: backups_scheduled
|
||||
ports:
|
||||
- web
|
||||
templatefiles:
|
||||
|
|
@ -8,6 +14,8 @@ templatefiles:
|
|||
- src: forgejo-watch-sshkeys.j2
|
||||
dest: ~/forgejo-watch-sshkeys
|
||||
mode: "0755"
|
||||
- src: forgejo.service.j2
|
||||
dest: ~/.config/systemd/user/forgejo.service
|
||||
- src: forgejo-watch-sshkeys.service.j2
|
||||
dest: ~/.config/systemd/user/forgejo-watch-sshkeys.service
|
||||
exports:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
[Unit]
|
||||
Description=Podman Compose based service
|
||||
After=network.target
|
||||
PartOf={{ mainunit }}
|
||||
|
||||
[Service]
|
||||
Type=exec
|
||||
|
|
@ -10,4 +11,4 @@ Restart=always
|
|||
WorkingDirectory={{ homedir }}
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
WantedBy={{ mainunit }}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
[Unit]
|
||||
Description=Podman Compose based service
|
||||
After=network.target
|
||||
PartOf={{ mainunit }}
|
||||
|
||||
[Service]
|
||||
Type=exec
|
||||
|
|
@ -13,4 +14,4 @@ Restart=always
|
|||
WorkingDirectory={{ homedir }}
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
WantedBy={{ mainunit }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue