FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
middleware:postfix:index.html [2018/01/02 01:17] kurihara [Postfix Operation] |
middleware:postfix:index.html [2018/02/21 23:50] kurihara |
||
---|---|---|---|
Line 7: | Line 7: | ||
\\ | \\ | ||
- | ===== Postfix Operation ===== | + | ===== Postfix Operation |
<sxh bash toolbar: | <sxh bash toolbar: | ||
$ fab -l |grep postfix | $ fab -l |grep postfix | ||
Line 16: | Line 16: | ||
</ | </ | ||
+ | \\ | ||
+ | ==== Fabric Temporary Run Call Examples ==== | ||
<sxh bash toolbar: | <sxh bash toolbar: | ||
$ H=test-server-1, | $ H=test-server-1, | ||
Line 23: | Line 25: | ||
$ fab -H $H auth.pro | $ fab -H $H auth.pro | ||
$ fab -H $H auth.pro | $ fab -H $H auth.pro | ||
+ | |||
+ | $ fab -H $H auth.pro | ||
+ | $ fab -H $H auth.pro | ||
+ | $ fab -H $H auth.pro | ||
+ | |||
+ | |||
+ | $ fab -H $H auth.pro | ||
+ | $ fab -H $H auth.pro | ||
+ | $ fab -H $H auth.pro | ||
+ | $ fab -H $H auth.pro | ||
</ | </ | ||
+ | |||
Line 43: | Line 56: | ||
def install_yum(): | def install_yum(): | ||
sudo(" | sudo(" | ||
+ | |||
+ | |||
+ | # | ||
+ | # Queue | ||
+ | # | ||
+ | # postfix.check_queue_num | ||
+ | @task | ||
+ | def postfix.check_queue_num(): | ||
+ | """ | ||
+ | # | ||
+ | sudo(" | ||
Line 49: | Line 73: | ||
\\ | \\ | ||
- | ===== Postfix Configuration ===== | + | ===== Postfix Configuration |
- | *[[middleware: | + | *[[middleware: |
+ | *[[middleware: | ||
+ | *[[middleware: | ||
My Sites
SNS
Copyright (c) 2024 FastHandle - IT Operations Examples All Rights Reserved.