projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix bad race condition
[freeside.git]
/
FS
/
FS
/
part_export
/
shellcommands_withdomain.pm
diff --git
a/FS/FS/part_export/shellcommands_withdomain.pm
b/FS/FS/part_export/shellcommands_withdomain.pm
index
7011dce
..
1b59589
100644
(file)
--- a/
FS/FS/part_export/shellcommands_withdomain.pm
+++ b/
FS/FS/part_export/shellcommands_withdomain.pm
@@
-66,17
+66,25
@@
tie my %options, 'Tie::IxHash',
type=>'select', options=>[qw(crypt md5)],
default => 'crypt',
},
type=>'select', options=>[qw(crypt md5)],
default => 'crypt',
},
- '
ignore_all
_output' => {
-
label => 'Ignore all output and errors from the command
',
- type => 'checkbox',
+ '
fail_on
_output' => {
+
label => 'Treat any output from the command as an error
',
+
type => 'checkbox',
},
},
+ 'ignore_all_errors' => {
+ label => 'Ignore all errors from the command',
+ type => 'checkbox',
+ },
+ 'ignored_errors' => { label => 'Regexes of specific errors to ignore, separated by newlines',
+ type => 'textarea'
+ },
;
%info = (
;
%info = (
- 'svc' => 'svc_acct',
- 'desc' => 'Real-time export via remote SSH (vpopmail, ISPMan)',
- 'options' => \%options,
- 'notes' => <<'END'
+ 'svc' => 'svc_acct',
+ 'desc' => 'Real-time export via remote SSH (vpopmail, ISPMan, MagicMail)',
+ 'options' => \%options,
+ 'svc_machine' => 1,
+ 'notes' => <<'END'
Run remote commands via SSH. username@domain (rather than just usernames) are
considered unique (also see shellcommands). You probably want this if the
commands you are running will accept a domain as a parameter, and will allow
Run remote commands via SSH. username@domain (rather than just usernames) are
considered unique (also see shellcommands). You probably want this if the
commands you are running will accept a domain as a parameter, and will allow