Skip to content

Commit

Permalink
Merge branch 'sandboxing' into 'master'
Browse files Browse the repository at this point in the history
Fix systemd sandboxing

See merge request mer-core/sensorfw!51
  • Loading branch information
mlehtima committed Feb 19, 2020
2 parents e4fd05e + 0649684 commit 301e1ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rpm/sensorfwd.service
Expand Up @@ -12,8 +12,7 @@ ExecReload=/bin/kill -HUP $MAINPID
Restart=always
RestartSec=1
# Sandboxing
CapabilityBoundingSet=CAP_DAC_OVERRIDE CAP_FOWNER
PrivateNetwork=true
CapabilityBoundingSet=CAP_BLOCK_SUSPEND CAP_DAC_OVERRIDE CAP_FOWNER
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=full
Expand Down

0 comments on commit 301e1ee

Please sign in to comment.