fix timer
This commit is contained in:
parent
d6b8135b36
commit
7c568c7859
|
|
@ -3,5 +3,7 @@ Description=login to ESA network as asus router
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/bin/wirelesslogin
|
ExecStart=/bin/bash -c '/usr/bin/wirelesslogin'
|
||||||
IOSchedulingClass=idle
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,8 @@
|
||||||
Description=Daily login to ESA wifi as asus router
|
Description=Daily login to ESA wifi as asus router
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnCalendar=daily
|
OnBootSec=30s
|
||||||
AccuracySec=12h
|
OnUnitActiveSec=5min
|
||||||
Persistent=true
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue