mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-15 21:26:29 +00:00
ResinHup auto start v2
This commit is contained in:
parent
87fa49d415
commit
1db4eea2e6
@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Resinhup updater
|
||||
Requires=\
|
||||
docker.service \
|
||||
etc-resin\x2dsupervisor.mount \
|
||||
tmp.mount
|
||||
Wants=\
|
||||
mnt-boot.mount \
|
||||
resin-supervisor.service
|
||||
After=\
|
||||
docker.service \
|
||||
tmp.mount \
|
||||
mnt-boot.mount \
|
||||
etc-resin\x2dsupervisor.mount \
|
||||
resin-supervisor.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=@BASE_BINDIR@/bash @BINDIR@/run-resinhub.sh
|
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Resinhup updater timer
|
||||
|
||||
[Timer]
|
||||
OnBootSec=15min
|
||||
OnUnitInactiveSec=1d
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user