Skip to content

Commit

Permalink
chore: Correct systemd directives in unit examples
Browse files Browse the repository at this point in the history
Signed-off-by: Mahendra Paipuri <[email protected]>
  • Loading branch information
mahendrapaipuri committed Feb 20, 2024
1 parent 2bdca15 commit 108cb57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion init/systemd/batchjob_exporter_with_caps.service
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RestartSec=1
StartLimitInterval=0

AmbientCapabilities=CAP_SYS_PTRACE CAP_DAC_READ_SEARCH
BoundingCapabilities=CAP_SYS_PTRACE CAP_DAC_READ_SEARCH
CapabilityBoundingSet=CAP_SYS_PTRACE CAP_DAC_READ_SEARCH

ProtectSystem=strict
ProtectControlGroups=true
Expand Down
2 changes: 1 addition & 1 deletion init/systemd/batchjob_stats_server.service
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RestartSec=1
StartLimitInterval=0

AmbientCapabilities=CAP_SETUID CAP_SETGID
BoundingCapabilities=CAP_SETUID CAP_SETGID
CapabilityBoundingSet=CAP_SETUID CAP_SETGID

ProtectHome=read-only
ReadWritePaths=/var/lib/ceems /nfs/data/backup/ceems
Expand Down

0 comments on commit 108cb57

Please sign in to comment.