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