mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
systemd: aliendalvik-stopper
This commit is contained in:
parent
bf03a22823
commit
4391fb5c19
9
etc/systemd/system/aliendalvik-stopper.service
Normal file
9
etc/systemd/system/aliendalvik-stopper.service
Normal file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=aliendalvik stopper service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/systemctl stop aliendalvik.service
|
||||
|
||||
[Install]
|
||||
WantedBy=aliendalvik-stopper.timer
|
9
etc/systemd/system/aliendalvik-stopper.timer
Normal file
9
etc/systemd/system/aliendalvik-stopper.timer
Normal file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Stops aliendalvik hourly as I am unlikely to need it that much and it restarts automatically if Android app is started and just wasttes battery.
|
||||
|
||||
[Timer]
|
||||
OnBootSec=1min
|
||||
OnUnitActiveSec=1h
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Reference in New Issue
Block a user