forgejo/forgejo-watch-sshkeys.service.j2
Peter 06092b947e first version to manage sshkeys
This does not yet get autostarted, but this should already allow you to
manage your ssh keys in forgejo, and they should work...
2025-08-15 22:15:11 +02:00

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