mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-24 00:50:51 +00:00
Services logging errors
This commit is contained in:
parent
2b36d7c555
commit
55a640cbf7
1
Services/after-wakeup.service
Normal file → Executable file
1
Services/after-wakeup.service
Normal file → Executable file
@ -1,6 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Bruno Fontes script after wakeup
|
Description=Bruno Fontes script after wakeup
|
||||||
After=suspend.target
|
After=suspend.target
|
||||||
|
OnFailure=logErrors@%n.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
1
Services/backup-contabo.service
Normal file → Executable file
1
Services/backup-contabo.service
Normal file → Executable file
@ -1,5 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Backup contabo daily
|
Description=Backup contabo daily
|
||||||
|
OnFailure=logErrors@%n.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/home/bruno/Backups/Contabo/backup-contabo.sh
|
ExecStart=/home/bruno/Backups/Contabo/backup-contabo.sh
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Backup joplin weekly
|
Description=Backup joplin weekly
|
||||||
|
OnFailure=logErrors@%n.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=bruno
|
User=bruno
|
||||||
|
1
Services/before-sleep.service
Normal file → Executable file
1
Services/before-sleep.service
Normal file → Executable file
@ -1,6 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Bruno Fontes script before sleep
|
Description=Bruno Fontes script before sleep
|
||||||
Before=sleep.target
|
Before=sleep.target
|
||||||
|
OnFailure=logErrors@%n.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
0
Services/logErrors@.service
Normal file → Executable file
0
Services/logErrors@.service
Normal file → Executable file
@ -1,5 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Minecraft Informa a Hora Certa
|
Description=Minecraft Informa a Hora Certa
|
||||||
|
OnFailure=logErrors@%n.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=bruno
|
User=bruno
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Properly shutdown Minecraft before PC shutdown
|
Description=Properly shutdown Minecraft before PC shutdown
|
||||||
|
OnFailure=logErrors@%n.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
1
Services/roothints.service
Normal file → Executable file
1
Services/roothints.service
Normal file → Executable file
@ -1,6 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Update root hints for unbound
|
Description=Update root hints for unbound
|
||||||
After=network.target
|
After=network.target
|
||||||
|
OnFailure=logErrors@%n.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/curl -o /etc/unbound/root.hints https://www.internic.net/domain/named.cache
|
ExecStart=/usr/bin/curl -o /etc/unbound/root.hints https://www.internic.net/domain/named.cache
|
||||||
|
1
Services/testDNS.service
Normal file → Executable file
1
Services/testDNS.service
Normal file → Executable file
@ -2,6 +2,7 @@
|
|||||||
Description=Test and fix DNS update with wrong time
|
Description=Test and fix DNS update with wrong time
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
OnFailure=logErrors@%n.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
1
Services/updateRootHints.service
Normal file → Executable file
1
Services/updateRootHints.service
Normal file → Executable file
@ -1,5 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Run update DNS root hints montly
|
Description=Run update DNS root hints montly
|
||||||
|
OnFailure=logErrors@%n.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
Loading…
Reference in New Issue
Block a user