setup/clone/utility/sats-update.service

12 lines
281 B
SYSTEMD

[Unit]
Description=[::SATS::] Update Process
Requires=sats-dwc@wlan0.service
After=sats-dwc@wlan0.service
Requisite=sats-sync.service
[Service]
Type=oneshot
User=pi
Group=pi
ExecStart=/bin/bash /service/sats-update
ExecStartPost=/usr/bin/sudo systemctl stop sats-dwc@wlan0.service