This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Renew Let's Encrypt certificates | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/local/sbin/certbot-auto renew | |
ExecStartPost=/usr/bin/systemctl reload nginx.service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server_names_hash_bucket_size 64; | |
types { | |
application/wasm wasm; | |
} | |
server { | |
listen 45.151.166.22:80; | |
listen [2001:678:b7c::22]:80; | |
server_name jitsi.freifunk-duesseldorf.de; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.system_cfg.1=ebtables.101.cmd=-t nat -I GUESTIN 1 -p IPv6 -d b4:fb:e4:24:0a:f1 -j ACCEPT | |
config.system_cfg.2=ebtables.102.cmd=-t nat -I GUESTIN 3 -p IPv6 --ip6-proto ipv6-icmp --ip6-icmp-type router-solicitation -j ACCEPT | |
config.system_cfg.3=ebtables.103.cmd=-t nat -I GUESTIN 4 -p IPv6 --ip6-proto ipv6-icmp --ip6-icmp-type neighbour-advertisement -j ACCEPT | |
config.system_cfg.4=ebtables.104.cmd=-t nat -I GUESTIN 5 -p IPv6 --ip6-proto ipv6-icmp --ip6-icmp-type neighbour-solicitation -j ACCEPT | |
config.system_cfg.5=ebtables.105.cmd=-t nat -I GUESTOUT 1 -p IPv6 -s b4:fb:e4:24:0a:f1 -j ACCEPT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load-module module-native-protocol-tcp auth-anonymous=true | |
load-module module-alsa-sink device=plughw:UMC1820 | |
load-module module-stream-restore | |
load-sample-dir-lazy /home/alarm/samples/ | |
set-default-sink alsa_output.plughw_UMC1820 | |
play-sample win31 alsa_output.plughw_UMC1820 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/systemd/system/certbot.service.d/override.conf | |
[Service] | |
ExecStart=/usr/bin/certbot renew --webroot -w /opt/observium/html | |
ExecStartPost=/usr/sbin/nginx -s reload |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.system_cfg.1=ebtables.101.cmd=-t nat -I GUESTIN 1 -p IPv6 -d 06:be:ef:00:00:00/ff:ff:ff:00:00:00 -j ACCEPT | |
config.system_cfg.2=ebtables.102.cmd=-t nat -I GUESTIN 2 -p IPv6 --ip6-proto ipv6-icmp --ip6-icmp-type router-solicitation -j ACCEPT | |
config.system_cfg.3=ebtables.103.cmd=-t nat -I GUESTIN 3 -p IPv6 --ip6-proto ipv6-icmp --ip6-icmp-type neighbour-advertisement -j ACCEPT | |
config.system_cfg.4=ebtables.104.cmd=-t nat -I GUESTIN 4 -p IPv6 --ip6-proto ipv6-icmp --ip6-icmp-type neighbour-solicitation -j ACCEPT | |
config.system_cfg.5=ebtables.105.cmd=-t nat -I GUESTOUT 1 -p IPv6 -s 06:be:ef:00:00:00/ff:ff:ff:00:00:00 -j ACCEPT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import subprocess | |
import json | |
stats = subprocess.getoutput("/sbin/ethtool -i enp0s3").split("\n") | |
result = {} | |
for line in stats: | |
key, value = line.split(": ") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set service dns forwarding name-server 1.1.1.1 | |
set service dns forwarding name-server 1.0.0.1 | |
set service dns forwarding name-server '2606:4700:4700::1111' | |
set service dns forwarding name-server '2606:4700:4700::1001' | |
set service dns forwarding options dnssec | |
set service dns forwarding options trust-anchor=.,19036,8,2,49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5 | |
set service dns forwarding options trust-anchor=.,20326,8,2,E06D44B80B8F1D39A95C0B0D7C65D08458E880409BBC683457104237C7F8EC8D | |
set service dns forwarding options dnssec-check-unsigned | |
set service dns forwarding options dnssec-timestamp=/config/dnsmasq/dnsmasq.time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
host=$1 | |
timeout=$2 | |
ping -W $timeout -c 1 $host |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Configuration file for the CUPS scheduler. See "man cupsd.conf" for a | |
# complete description of this file. | |
# | |
# Disable cups internal logging - use logrotate instead | |
MaxLogSize 0 | |
# Log general information in error_log - change "warn" to "debug" | |
# for troubleshooting... |