This does not yet get autostarted, but this should already allow you to manage your ssh keys in forgejo, and they should work...
13 lines
329 B
Django/Jinja
13 lines
329 B
Django/Jinja
[Unit]
|
|
Description=Podman Compose based service
|
|
After=network.target
|
|
|
|
[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=default.target
|