7a23e70bb4
- also fix ownership of /var/log/radius in systemd unit OBS-URL: https://build.opensuse.org/request/show/619196 OBS-URL: https://build.opensuse.org/package/show/network/freeradius-server?expand=0&rev=110
16 lines
408 B
Desktop File
16 lines
408 B
Desktop File
[Unit]
|
|
Description=FreeRADIUS high performance RADIUS server.
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
PIDFile=/run/radiusd/radiusd.pid
|
|
ExecStartPre=-/bin/chown -R radiusd.radiusd /run/radiusd /var/log/radius
|
|
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
|