Files
pi-kit/systemd/pikit-update.service

15 lines
324 B
Desktop File

[Unit]
Description=Pi-Kit release update check/apply helper
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/curl -s -H "Content-Type: application/json" -X POST http://127.0.0.1/api/update/check
User=root
Group=root
TimeoutStartSec=300
[Install]
WantedBy=multi-user.target