summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/bin/freeside-queued1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/bin/freeside-queued b/FS/bin/freeside-queued
index 6fb294db8..04101bbc2 100644
--- a/FS/bin/freeside-queued
+++ b/FS/bin/freeside-queued
@@ -30,6 +30,7 @@ $SIG{INT} = sub { warn "SIGINT received; shutting down\n"; $sigint++; };
$SIG{TERM} = sub { warn "SIGTERM received; shutting down\n"; $sigterm++; };
$> = $FS::UID::freeside_uid unless $>;
+$ENV{HOME} = (getpwuid($>))[7]; #for ssh
adminsuidsetup $user;
$log_file = "/usr/local/etc/freeside/queuelog.". $FS::UID::datasrc;