diff options
author | Hristo Venev <hristo@venev.name> | 2019-05-17 20:40:49 +0300 |
---|---|---|
committer | Hristo Venev <hristo@venev.name> | 2019-05-18 20:07:08 +0300 |
commit | 8668f831620d2bff617920974f431bf4db31e398 (patch) | |
tree | 0ac7e7bcb199495f7b91cb3958811f7e714147ae /dist/systemd/wgconfd@.service | |
parent | ec821f39d9689df213698dbcb90b4367297b9cb5 (diff) |
Create cache and state files in mode 0o0600.
Diffstat (limited to 'dist/systemd/wgconfd@.service')
-rw-r--r-- | dist/systemd/wgconfd@.service | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dist/systemd/wgconfd@.service b/dist/systemd/wgconfd@.service index 85acb13..3b85809 100644 --- a/dist/systemd/wgconfd@.service +++ b/dist/systemd/wgconfd@.service @@ -10,8 +10,10 @@ CapabilityBoundingSet=CAP_NET_ADMIN Restart=on-failure RestartSec=0 RuntimeDirectory=wgconfd/%i +RuntimeDirectoryMode=0700 RuntimeDirectoryPreserve=yes CacheDirectory=wgconfd/%i +CacheDirectoryMode=0700 ExecStart=/usr/bin/env wgconfd %i /etc/wireguard/%i.toml StandardError=journal SyslogLevelPrefix=true |