~upstart-devel/upstart/upstart-jobs

« back to all changes in this revision

Viewing changes to etc/init/freeradius.conf

  • Committer: Dimitri John Ledkov
  • Date: 2014-05-06 18:45:46 UTC
  • Revision ID: dimitri.ledkov@canonical.com-20140506184546-5toyx56xxrue0f0v
auto update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# freeradius -- Radius server
2
 
#
3
 
 
4
 
description     "Extensible, configurable radius daemon"
5
 
author          "Michael Vogt <mvo@ubuntu.com>"
6
 
 
7
 
start on runlevel [2345]
8
 
stop on runlevel [!2345]
9
 
 
10
 
respawn
11
 
 
12
 
script
13
 
  if [ -r /etc/default/freeradius ]; then
14
 
    . /etc/default/freeradius
15
 
  fi
16
 
  /usr/sbin/freeradius -f $FREERADIUS_OPTIONS
17
 
end script
18
 
 
19
 
pre-start script
20
 
# /var/run may be a tmpfs
21
 
if [ ! -d /var/run/freeradius ]; then
22
 
  mkdir -p /var/run/freeradius
23
 
  chown freerad:freerad /var/run/freeradius
24
 
fi
25
 
end script
26