mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-01 19:57:26 +02:00
Compare commits
2 Commits
07f1033a7b
...
61406c9c98
Author | SHA1 | Date | |
---|---|---|---|
61406c9c98 | |||
3dedc39c8d |
7
etc/systemd/user/brew-update-user.service
Normal file
7
etc/systemd/user/brew-update-user.service
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Install linuxbrew updates
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStartPre=/usr/local/bin/brew update
|
||||||
|
ExecStart=/usr/local/bin/brew upgrade
|
15
etc/systemd/user/brew-update-user.timer
Normal file
15
etc/systemd/user/brew-update-user.timer
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Install homebrew updates regularly
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
#OnCalendar=*-*-* 19:00:00
|
||||||
|
# Executed every 4 hours
|
||||||
|
OnUnitActiveSec=4h
|
||||||
|
# Executed 5 minutes from boot
|
||||||
|
OnBootSec=300
|
||||||
|
# Delay execution by something between 0 seconds and 3 hours
|
||||||
|
RandomizedDelaySec=3h
|
||||||
|
Persistent=true
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
@ -1,6 +1,6 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Type=Application
|
Type=Application
|
||||||
Exec=footclient -m tmux
|
Exec=footclient tmux
|
||||||
Icon=foot
|
Icon=foot
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Name=Foot Client running tmux
|
Name=Foot Client running tmux
|
||||||
|
Loading…
x
Reference in New Issue
Block a user