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

9 lines
211 B
Django/Jinja

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