mirror of
https://github.com/roles-ansible/ansible_role_forgeo_runner.git
synced 2024-08-16 10:29:50 +02:00
16 lines
373 B
Django/Jinja
16 lines
373 B
Django/Jinja
{{ ansible_managed | comment }}
|
|
[Unit]
|
|
Description=Forgejo runner
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User={{ forgejo_runner__user }}
|
|
Group={{ forgejo_runner__group }}
|
|
WorkingDirectory={{ forgejo_runner__user_home }}
|
|
ExecStart={{ forgejo_runner__full_executable_path }} {{ forgejo_runner__mode }}
|
|
Restart=always
|
|
RestartSec=10s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|