Skip to content

Commit

Permalink
Fixup the debian service too
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Jun 21, 2017
1 parent 233dd1e commit 7c37079
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions debian/freeradius.service
Expand Up @@ -9,6 +9,15 @@ WatchdogSec=60
NotifyAccess=all
PIDFile=/run/freeradius/freeradius.pid
EnvironmentFile=-/etc/default/freeradius

# FreeRADIUS can do static evaluation of policy language rules based
# on environmental variables which is very useful for doing per-host
# customization.
# Unfortunately systemd does not allow variable substitutions such
# as %H or $(hostname) in the EnvironmentFile.
# We provide HOSTNAME here for convenience.
Environment=HOSTNAME=%H

RuntimeDirectory=/var/run/freeradius
ExecStartPre=/usr/sbin/freeradius $FREERADIUS_OPTIONS -Cx -lstdout
ExecStart=/usr/sbin/freeradius $FREERADIUS_OPTIONS
Expand Down

0 comments on commit 7c37079

Please sign in to comment.