Created
July 8, 2019 09:25
-
-
Save userid/9371cc30ee1a02f84f800a51f5512687 to your computer and use it in GitHub Desktop.
https://github.com/getdnsapi/getdns/pull/299/commits/e845ef8968e37045c87812e28f9253518139cd98 Stubby integration with systemd.
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/lib/systemd/system/stubby.service | |
| [Unit] | |
| Description=stubby DNS resolver | |
| Wants=network-online.target | |
| After=network-online.target | |
| [Service] | |
| User=stubby | |
| DynamicUser=yes | |
| CacheDirectory=stubby | |
| WorkingDirectory=/var/cache/stubby | |
| ExecStart=/usr/bin/stubby | |
| AmbientCapabilities=CAP_NET_BIND_SERVICE | |
| CapabilityBoundingSet=CAP_NET_BIND_SERVICE | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment