services: Merge some service templates

This commit is contained in:
polyfloyd 2024-04-14 13:57:42 +02:00
parent 051eef5bbf
commit 4c8fae0657
6 changed files with 23 additions and 53 deletions

View file

@ -0,0 +1,18 @@
# Managed by Ansible
[Unit]
Description={{ description }}
After=network.target
{% if requires|default('') %}
Requires={{ requires }}
{% endif %}
[Service]
Type=simple
ExecStart={{ exec }}
Restart=always
RestartSec=10s
DynamicUser=true
[Install]
WantedBy=multi-user.target