Compare commits

...

7 Commits

7 changed files with 15 additions and 10 deletions

View File

@ -68,12 +68,12 @@ repos:
# prettier, opinionated code formatter
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0"
rev: "v3.0.1"
hooks:
- id: prettier
exclude_types: [python, pyi, jupyter]
additional_dependencies:
["prettier@3.0.0", "prettier-plugin-nginx@1.0.3"]
["prettier@3.0.1", "prettier-plugin-nginx@1.0.3"]
# Black, opinionated Python code formatter
# - repo: https://github.com/psf/black

View File

@ -1 +1 @@
../yggdrasil.service.d/never-fail.conf
../service.d/never-fail.conf

View File

@ -2,7 +2,7 @@
[Unit]
Description=DNS over HTTPS resolver
# /etc/resolv.conf -> unbound -> dnsproxy
After=network-online.target
After=network-pre.target
[Service]
Type=simple
@ -16,4 +16,4 @@ RestartSec=5s
User=unbound
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target unbound.service

View File

@ -0,0 +1,6 @@
# This file stops services from failing and will keep attempting to always
# restart them. Regardless of the location in my dotfiles, I would not place
# it here in the actual /etc
[Service]
Restart=always
RestartSec=5s

View File

@ -0,0 +1,2 @@
[Unit]
Requires=dnsproxy.service

View File

@ -1 +1 @@
../yggdrasil.service.d/never-fail.conf
../service.d/never-fail.conf

View File

@ -1,4 +0,0 @@
# To never stop retrying to start
[Service]
Restart=always
RestartSec=5s

View File

@ -0,0 +1 @@
../service.d/never-fail.conf