You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
568 B
17 lines
568 B
6 years ago
|
diff -ur a/stubby/systemd/stubby.service b/stubby/systemd/stubby.service
|
||
|
--- a/stubby/systemd/stubby.service 2018-05-11 13:25:22.000000000 +0200
|
||
|
+++ b/stubby/systemd/stubby.service 2018-06-20 15:40:23.650164668 +0200
|
||
|
@@ -3,9 +3,11 @@
|
||
|
|
||
|
[Service]
|
||
|
User=stubby
|
||
|
-DynamicUser=yes
|
||
|
+DynamicUser=no
|
||
|
CacheDirectory=stubby
|
||
|
WorkingDirectory=/var/cache/stubby
|
||
|
+ExecStartPre=/bin/mkdir -p /var/cache/stubby
|
||
|
+ExecStartPre=/bin/chown stubby:stubby /var/cache/stubby
|
||
|
ExecStart=/usr/bin/stubby
|
||
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|