diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:59:08 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:59:08 +0000 |
commit | ce45e7eeedd9b6c03e13ece88969662ab99a54d4 (patch) | |
tree | 3c991fcabf18a0e314a10edf337db266e504af11 /radiusd.service | |
parent | b4b026256764f713f0d62b0c0dad37b0a4f92f19 (diff) |
automatic import of freeradiusopeneuler24.03_LTS
Diffstat (limited to 'radiusd.service')
-rw-r--r-- | radiusd.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/radiusd.service b/radiusd.service new file mode 100644 index 0000000..8ec47ba --- /dev/null +++ b/radiusd.service @@ -0,0 +1,15 @@ +[Unit] +Description=FreeRADIUS high performance RADIUS server. +After=syslog.target network-online.target ipa.service dirsrv.target krb5kdc.service mysql.service mariadb.service postgresql.service + +[Service] +Type=forking +PIDFile=/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 |