Skip to content

Commit

Permalink
remove chown.
Browse files Browse the repository at this point in the history
It's not needed according to the Systemd documentation

---
RuntimeDirectory=foo/bar baz
the service manager creates /run/foo (if it does not exist), /run/foo/bar, and /run/baz. The directories /run/foo/bar and /run/baz except /run/foo are owned by the user and group specified in User= and Group=, and removed when the service is stopped.
---
  • Loading branch information
alandekok committed Sep 16, 2019
1 parent c406ab8 commit 7ecb044
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion redhat/radiusd.service
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ MemoryLimit=2G
RuntimeDirectory=radiusd
RuntimeDirectoryMode=0775
ExecStartPre=/usr/sbin/radiusd $FREERADIUS_OPTIONS -Cx -lstdout
ExecStartPre=/usr/bin/chown radiusd:radiusd /var/run/radiusd
ExecStart=/usr/sbin/radiusd -f $FREERADIUS_OPTIONS
Restart=on-failure
RestartSec=5
Expand Down

0 comments on commit 7ecb044

Please sign in to comment.