14 lines
351 B
Django/Jinja
14 lines
351 B
Django/Jinja
[Unit]
|
|
Description=Podman Compose based service
|
|
After=network.target
|
|
PartOf={{ mainunit }}
|
|
|
|
[Service]
|
|
Type=exec
|
|
# The command must be executed as "root", as the git directory is not readable by a regular user
|
|
ExecStart=podman unshare {{ homedir }}/forgejo-watch-sshkeys
|
|
Restart=always
|
|
WorkingDirectory={{ homedir }}
|
|
|
|
[Install]
|
|
WantedBy={{ mainunit }}
|