mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-07-31 19:17:20 +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]
|
||||
Type=Application
|
||||
Exec=footclient -m tmux
|
||||
Exec=footclient tmux
|
||||
Icon=foot
|
||||
Terminal=false
|
||||
Name=Foot Client running tmux
|
||||
|
Loading…
x
Reference in New Issue
Block a user