Skip to content
Permalink
Browse files

lightsd: harden the systemd service configuration and add a sample dr…

…op-in
  • Loading branch information...
lopter committed May 18, 2017
1 parent 5b20beb commit 4de0c8d2e486131f105373a1a2edda8425cdab76
Showing with 10 additions and 0 deletions.
  1. +7 −0 dist/lightsd.service
  2. +3 −0 examples/custom-exec-start.conf
@@ -8,6 +8,13 @@ User=lightsd
Group=lightsd
RuntimeDirectory=lightsd
Restart=on-failure
ProtectSystem=full
ProtectHome=true
ProtectKernelTunables=yes
ProtectControlGroups=yes
ProtectKernelModules=yes
# Debian Stretch and after:
# RestrictNamespaces=yes

[Install]
WantedBy=multi-user.target
@@ -0,0 +1,3 @@
[Service]
ExecStart=
ExecStart=/usr/bin/lightsd -t -v warning -s %t/lightsd/socket -c %t/lightsd/pipe -l :::56742

0 comments on commit 4de0c8d

Please sign in to comment.
You can’t perform that action at this time.