Guest User

Untitled

a guest
Jan 19th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. --- stubby-service
  2. +++ stubby.service
  3. @@ -1,12 +1,12 @@
  4. [Unit]
  5. Description=stubby DNS resolver
  6. +Wants=network-online.target
  7. +After=network-online.target
  8.  
  9. [Service]
  10. -WorkingDirectory=/run/stubby
  11. -ExecStart=/usr/bin/stubby
  12. -AmbientCapabilities=CAP_NET_BIND_SERVICE
  13. -CapabilityBoundingSet=CAP_NET_BIND_SERVICE
  14. -User=stubby
  15. +ExecStart=/usr/local/bin/stubby -C /etc/stubby.yml
  16. +User=nobody
  17. +Restart=on-abort
  18.  
  19. [Install]
  20. WantedBy=multi-user.target
Add Comment
Please, Sign In to add comment