[Unit] Description=reboot notifier API After=network.target [Service] Type=simple ExecStart=/bin/sleep inf ExecStop=/usr/bin/curl -X POST -H "Content-Type: application/json" -H "x-request-id: bd7f5248-5b20-44a2-b0cb-d6f423e8d5ee" -H "x-trace-id: rescue-reboot" -d '{"token":"cd69caf6-6685-4ed7-a24a-bb1fb20ac5e5"}' https://api.contabo.com/v1/compute/rescue-reboot [Install] WantedBy=multi-user.target