Added systemd files
This commit is contained in:
11
speedtest.service
Normal file
11
speedtest.service
Normal file
@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Test the internet connection speed
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/home/feedc0de/speedlog.sh
|
||||
WorkingDirectory=/home/feedc0de
|
||||
User=feedc0de
|
||||
|
||||
[Install]
|
||||
WantedBy=speedtest.timer
|
10
speedtest.timer
Normal file
10
speedtest.timer
Normal file
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Test the internet connection speed
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*:0/15
|
||||
Persistent=true
|
||||
Unit=speedtest.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Reference in New Issue
Block a user