mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-19 12:47:27 +02:00
Compare commits
7 Commits
f3c9d1006b
...
fe16d45f14
Author | SHA1 | Date | |
---|---|---|---|
fe16d45f14 | |||
db6bdd6222 | |||
6fdfad9e93 | |||
5acec4c00e | |||
809d723293 | |||
bbd7a02b60 | |||
918bdc2a97 |
@ -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
|
||||
|
@ -1 +1 @@
|
||||
../yggdrasil.service.d/never-fail.conf
|
||||
../service.d/never-fail.conf
|
@ -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
|
||||
|
6
etc/systemd/system/service.d/never-fail.conf
Normal file
6
etc/systemd/system/service.d/never-fail.conf
Normal 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
|
2
etc/systemd/system/unbound.service.d/dnsproxy.conf
Normal file
2
etc/systemd/system/unbound.service.d/dnsproxy.conf
Normal file
@ -0,0 +1,2 @@
|
||||
[Unit]
|
||||
Requires=dnsproxy.service
|
@ -1 +1 @@
|
||||
../yggdrasil.service.d/never-fail.conf
|
||||
../service.d/never-fail.conf
|
@ -1,4 +0,0 @@
|
||||
# To never stop retrying to start
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=5s
|
1
etc/systemd/system/yggdrasil.service.d/never-fail.conf
Symbolic link
1
etc/systemd/system/yggdrasil.service.d/never-fail.conf
Symbolic link
@ -0,0 +1 @@
|
||||
../service.d/never-fail.conf
|
Loading…
x
Reference in New Issue
Block a user