「Linux関係のメモ」の版間の差分
| 23行目: | 23行目: | ||
|追記のみ | |追記のみ | ||
|} | |} | ||
| + | |||
| + | == dnscrypt-proxyの[[systemd]]ファイル == | ||
| + | <pre> | ||
| + | [Unit] | ||
| + | Description=DNS Crypt Proxy | ||
| + | After=network.target auditd.service | ||
| + | |||
| + | [Service] | ||
| + | Type=simple | ||
| + | ExecStart=/opt/dnscrypt-proxy/dnscrypt-proxy | ||
| + | KillMode=process | ||
| + | Restart=on-failure | ||
| + | |||
| + | [Install] | ||
| + | WantedBy=multi-user.target | ||
| + | |||
| + | </pre> | ||
[[Category:技術]] | [[Category:技術]] | ||
2018年7月22日 (日) 01:58時点における版
BIND9のログ設定
ローカルで使っているだけであまりログは必要ないので切る。
// Inhibit logs
logging {
category "default" { null; };
channel "default_log" { null; };
channel "default_debug" { null; };
channel "default_stderr" { null; };
channel "null" { null; };
};
chattrの属性
あまり使わないのでよく忘れるのでメモ。
| i | 消せないファイルを作成 |
| a | 追記のみ |
dnscrypt-proxyのsystemdファイル
[Unit] Description=DNS Crypt Proxy After=network.target auditd.service [Service] Type=simple ExecStart=/opt/dnscrypt-proxy/dnscrypt-proxy KillMode=process Restart=on-failure [Install] WantedBy=multi-user.target