mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Update things
This commit is contained in:
parent
7c4ac23080
commit
862f4902ef
58 changed files with 65 additions and 680 deletions
13
user-config/systemd-user-units/user/actualizar.service
Normal file
13
user-config/systemd-user-units/user/actualizar.service
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Automatically update ArchLinux
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/pacman -Syuq --noconfirm
|
||||
TimeoutStopSec=180
|
||||
KillMode=process
|
||||
KillSignal=SIGINT
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
9
user-config/systemd-user-units/user/actualizar.timer
Normal file
9
user-config/systemd-user-units/user/actualizar.timer
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Automatically update ArchLinux. 5 minutes before the system boot the first check is done, then it look for updates every 60 minutes
|
||||
[Timer]
|
||||
OnBootSec=5min
|
||||
OnUnitActiveSec=60min
|
||||
Unit=actualizar.service
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
@ -0,0 +1 @@
|
|||
/home/sechacklabs/.config/systemd/user/firefox-profile@.service
|
||||
11
user-config/systemd-user-units/user/firefox-profile@.service
Normal file
11
user-config/systemd-user-units/user/firefox-profile@.service
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Firefox profile memory cache
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/home/YourUsername/.local/bin/firefox-sync %i
|
||||
ExecStop=/home/YourUsername/.local/bin/firefox-sync %i
|
||||
|
|
@ -0,0 +1 @@
|
|||
/home/sechacklabs/.config/systemd/user/rnetworking.timer
|
||||
Loading…
Add table
Add a link
Reference in a new issue