diff options
author | root <root@rshg054.dnsready.net> | 2012-10-06 00:25:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-06 00:25:32 -0700 |
commit | e7552010f531ef1b114352f0ce71a307360bf1d4 (patch) | |
tree | d37bd67211f2dc084113f36b80f2b4b5b9622aa5 /community/freeradius/freeradius.service | |
parent | 777466db27694f0cad10a7159ba66f2a2b39a516 (diff) |
Sat Oct 6 00:25:32 PDT 2012
Diffstat (limited to 'community/freeradius/freeradius.service')
-rw-r--r-- | community/freeradius/freeradius.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/community/freeradius/freeradius.service b/community/freeradius/freeradius.service new file mode 100644 index 000000000..635b6d6f8 --- /dev/null +++ b/community/freeradius/freeradius.service @@ -0,0 +1,15 @@ +[Unit] +Description=FreeRADIUS high performance RADIUS server. +After=syslog.target network.target + +[Service] +Type=forking +PIDFile=/var/run/radiusd/radiusd.pid +ExecStartPre=-/bin/chown -R radiusd.radiusd /var/run/radiusd +ExecStartPre=/usr/sbin/radiusd -C +ExecStart=/usr/sbin/radiusd -d /etc/raddb +ExecReload=/usr/sbin/radiusd -C +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target |