2025-08-15 22:15:11 +02:00
|
|
|
[Unit]
|
|
|
|
|
Description=Podman Compose based service
|
|
|
|
|
After=network.target
|
2026-05-27 00:29:22 +02:00
|
|
|
PartOf={{ mainunit }}
|
2025-08-15 22:15:11 +02:00
|
|
|
|
|
|
|
|
[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]
|
2026-05-27 00:29:22 +02:00
|
|
|
WantedBy={{ mainunit }}
|