Premier jet timer update
This commit is contained in:
parent
27776d5a12
commit
03ea6eafc8
2 changed files with 16 additions and 0 deletions
7
Perso/systemd_timers/gitUpdate.service
Normal file
7
Perso/systemd_timers/gitUpdate.service
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Updates git repos
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
User=intech
|
||||||
|
ExecStart=/bin/bash ~/git_repos/gitUpdate.sh "/home/intech/git_repos/TechTheTachyon-HighLevel.git" "/home/intech/git_repos/TechTheTachyon-LowLevel.git"
|
9
Perso/systemd_timers/gitUpdate.timer
Normal file
9
Perso/systemd_timers/gitUpdate.timer
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Updates git repos
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnBootSec=5min
|
||||||
|
OnUnitActiveSec=1min
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
Loading…
Add table
Reference in a new issue