File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -499,21 +499,21 @@ def configureSpamAssassin():
499499
500500
501501 command = "groupadd spamd"
502- subprocess . call ( shlex . split ( command ) )
502+ ProcessUtilities . normalExecutioner ( command )
503503
504504 command = "useradd -g spamd -s /bin/false -d /var/log/spamassassin spamd"
505- subprocess . call ( shlex . split ( command ) )
505+ ProcessUtilities . normalExecutioner ( command )
506506
507507 ##
508508
509509 command = "chown spamd:spamd /var/log/spamassassin"
510- subprocess . call ( shlex . split ( command ) )
510+ ProcessUtilities . normalExecutioner ( command )
511511
512512 command = "systemctl enable spamassassin"
513- subprocess . call ( shlex . split ( command ) )
513+ ProcessUtilities . normalExecutioner ( command )
514514
515515 command = "systemctl start spamassassin"
516- subprocess . call ( shlex . split ( command ) )
516+ ProcessUtilities . normalExecutioner ( command )
517517
518518 ## Configuration to postfix
519519
@@ -534,7 +534,7 @@ def configureSpamAssassin():
534534 writeToFile .close ()
535535
536536 command = 'systemctl restart postfix'
537- subprocess . call ( shlex . split ( command ) )
537+ ProcessUtilities . normalExecutioner ( command )
538538
539539
540540 print "1,None"
You can’t perform that action at this time.
0 commit comments