forgejo/forgejo-watch-sshkeys.service.j2

14 lines
329 B
Text
Raw Permalink Normal View History

[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