summaryrefslogtreecommitdiff
path: root/FS/bin/freeside-queued
diff options
context:
space:
mode:
authorivan <ivan>2001-09-19 19:00:06 +0000
committerivan <ivan>2001-09-19 19:00:06 +0000
commitaac06e1cc16840ca746bb222a5c29280453df27e (patch)
tree1bf0dc6c93eca904b90a45560db0e3c0b8078af8 /FS/bin/freeside-queued
parenta08088c61827caac7d518ffa771494f4eceb11a9 (diff)
set $ENV{HOME}
Diffstat (limited to 'FS/bin/freeside-queued')
-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;