runv-entre-notify.service (453B)
1 # Serviço one-shot opcional — acoplado ao .path acima. 2 # Personalize ExecStart para enviar email, Matrix, etc. 3 4 [Unit] 5 Description=Hook pós-novo pedido na fila entre (runv.club) 6 After=network-online.target 7 8 [Service] 9 Type=oneshot 10 User=root 11 # Exemplo: só registo no syslog (sem shell -c no Python; aqui é unit systemd) 12 ExecStart=/usr/bin/logger -t runv-entre-notify "fila /var/lib/runv/entre-queue modificada" 13 14 [Install] 15 WantedBy=multi-user.target