mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-23 21:20:50 +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]
|
||||
Description=Bruno Fontes script after wakeup
|
||||
After=suspend.target
|
||||
OnFailure=logErrors@%n.service
|
||||
|
||||
[Service]
|
||||
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]
|
||||
Description=Backup contabo daily
|
||||
OnFailure=logErrors@%n.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/home/bruno/Backups/Contabo/backup-contabo.sh
|
||||
|
@ -1,5 +1,6 @@
|
||||
[Unit]
|
||||
Description=Backup joplin weekly
|
||||
OnFailure=logErrors@%n.service
|
||||
|
||||
[Service]
|
||||
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]
|
||||
Description=Bruno Fontes script before sleep
|
||||
Before=sleep.target
|
||||
OnFailure=logErrors@%n.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
0
Services/logErrors@.service
Normal file → Executable file
0
Services/logErrors@.service
Normal file → Executable file
@ -1,5 +1,6 @@
|
||||
[Unit]
|
||||
Description=Minecraft Informa a Hora Certa
|
||||
OnFailure=logErrors@%n.service
|
||||
|
||||
[Service]
|
||||
User=bruno
|
||||
|
@ -1,5 +1,6 @@
|
||||
[Unit]
|
||||
Description=Properly shutdown Minecraft before PC shutdown
|
||||
OnFailure=logErrors@%n.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
1
Services/roothints.service
Normal file → Executable file
1
Services/roothints.service
Normal file → Executable file
@ -1,6 +1,7 @@
|
||||
[Unit]
|
||||
Description=Update root hints for unbound
|
||||
After=network.target
|
||||
OnFailure=logErrors@%n.service
|
||||
|
||||
[Service]
|
||||
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
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
OnFailure=logErrors@%n.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
1
Services/updateRootHints.service
Normal file → Executable file
1
Services/updateRootHints.service
Normal file → Executable file
@ -1,5 +1,6 @@
|
||||
[Unit]
|
||||
Description=Run update DNS root hints montly
|
||||
OnFailure=logErrors@%n.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
Loading…
Reference in New Issue
Block a user