mirror of https://github.com/LX3JL/xlxd.git
parent
890e488059
commit
bad324fdcf
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
/usr/bin/wget -q -O- http://localhost/index.php?callhome=1 > /dev/null
|
||||
|
||||
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=XLX API Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/xlxapi-update
|
||||
|
||||
|
||||
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Run xlx api call every day (if nobody opens the dashboard)
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 1:0:0
|
||||
Unit=xlxapi-update.service
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Reference in new issue