computer-playbook/roles/systemd-notifier/templates/systemd-notifier@.service.j2

9 lines
197 B
Django/Jinja

[Unit]
Description=Notifier for %i
[Service]
Type=oneshot
ExecStart=/usr/bin/systemctl start systemd-notifier-telegram@%i.service systemd-notifier-email@%i.service
User=root
Group=systemd-journal