[Unit] Description=Backup relevant services OnFailure=status-email@%n [Service] Type=oneshot ExecStart=/root/backup.sh User=root Group=root