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...
This commit is contained in:
parent
180f99e4ac
commit
06092b947e
3 changed files with 101 additions and 0 deletions
13
forgejo-watch-sshkeys.service.j2
Normal file
13
forgejo-watch-sshkeys.service.j2
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[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
|
||||
Loading…
Add table
Add a link
Reference in a new issue