diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-10-28 17:27:47 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-10-28 17:27:47 +0400 |
commit | 3fe671c49e5f3fc4798c67a57a2089bdfc6bc530 (patch) | |
tree | de93cb7fd4887663bcdf3453425d86a507a08434 /freebsd/rspamd.sh.in | |
parent | f10534112b1ad2c0ab8b0893eab3a1e15dedb506 (diff) | |
download | rspamd-3fe671c49e5f3fc4798c67a57a2089bdfc6bc530.tar.gz rspamd-3fe671c49e5f3fc4798c67a57a2089bdfc6bc530.zip |
Add compatibility with glib < 2.2.22
Fix user in start script
Diffstat (limited to 'freebsd/rspamd.sh.in')
-rwxr-xr-x | freebsd/rspamd.sh.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/freebsd/rspamd.sh.in b/freebsd/rspamd.sh.in index 4716753d8..c527a6d1d 100755 --- a/freebsd/rspamd.sh.in +++ b/freebsd/rspamd.sh.in @@ -25,8 +25,8 @@ load_rc_config $name : ${rspamd_enable="NO"} : ${rspamd_pidfile="/var/run/rspamd/rspamd.pid"} -: ${rspamd_user="@RSPAMD_USER@"} -: ${rspamd_group="@RSPAMD_GROUP@"} +: ${rspamd_run_user="@RSPAMD_USER@"} +: ${rspamd_run_group="@RSPAMD_GROUP@"} pidfile="$rspamd_pidfile" @@ -47,6 +47,6 @@ extra_commands="reload configtest reopenlog" sig_reload="HUP" command="$procname" -command_args="-u ${rspamd_user} -g ${rspamd_group} -c @CMAKE_INSTALL_PREFIX@/etc/rspamd.xml" +command_args="-u ${rspamd_run_user} -g ${rspamd_run_group} -c @CMAKE_INSTALL_PREFIX@/etc/rspamd.xml" run_rc_command "$1" |