AIT-CyberRange: Create and run a systemd service
- Debian or Ubuntu
app_name: app
app_user: "{{ app_name }}"
app_group: "{{ app_user }}"
app_basepath: /opt/{{ app_name }}
app_directory: "{{ app_name }}"
app_description: Service {{ app_name }}
app_service_file: templates/app.service.j2
app_autostart: true
app_service_execstart: ""
- hosts: all
roles:
- acr-ansible-simple-systemd-service
vars:
app_name: appname
app_user: "{{ appname_user }}"
app_basepath: "{{ appname_basepath }}"
app_service_execstart: "{{ appname_service_execstart }}"
GPL-3.0
- Lenhard Reuter