Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nsd
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian DNS Team
nsd
Commits
8a6039ce
Commit
8a6039ce
authored
6 years ago
by
Markus Schade
Browse files
Options
Downloads
Patches
Plain Diff
switch systemd service to notify and add system protection directives
parent
02c37a03
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
debian/nsd.service
+13
-2
13 additions, 2 deletions
debian/nsd.service
with
13 additions
and
2 deletions
debian/nsd.service
+
13
−
2
View file @
8a6039ce
...
...
@@ -4,10 +4,21 @@ Documentation=man:nsd(8)
After
=
network.target
[Service]
Type
=
simple
Type
=
notify
Restart
=
always
ExecStart
=
/usr/sbin/nsd -d
ExecReload
=
/usr/sbin/nsd-control reload
ExecReload
=
/bin/kill -HUP $MAINPID
CapabilityBoundingSet
=
CAP_IPC_LOCK CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_CHROOT
MemoryDenyWriteExecute
=
true
NoNewPrivileges
=
true
PrivateDevices
=
true
PrivateTmp
=
true
ProtectHome
=
true
ProtectControlGroups
=
true
ProtectKernelModules
=
true
ProtectKernelTunables
=
true
ProtectSystem
=
strict
[Install]
WantedBy
=
multi-user.target
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment