summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-06-27 15:23:47 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-27 15:23:47 +0200
commit7842e740becc743f35b840d6c906f74f800dd349 (patch)
tree4a2ffaba057f3062c50ed924324dbf9b50bffca8
parent4d841a8a4a0911bb1d4279ea77475445ac14bcba (diff)
downloadsmtpd-conf-7842e740becc743f35b840d6c906f74f800dd349.tar.xz
Use arrow in config-changed messaeg
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--fabfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fabfile.py b/fabfile.py
index 8791fa6..cfaa33e 100644
--- a/fabfile.py
+++ b/fabfile.py
@@ -24,7 +24,7 @@ def upload_conf():
local_file = '{}/smtpd.conf'.format(env.host)
if not checksum_match(local_file, '/etc/smtpd/smtpd.conf'):
- print(green('Config changed, uploading new file...'))
+ print(green('==> Config changed, uploading new file...'))
put(local_path=local_file, remote_path='/etc/smtpd/smtpd.conf',
use_sudo=True)
sudo('systemctl restart smtpd.service')
@@ -37,7 +37,7 @@ def upload_users():
local_file = 'common/users'
if not checksum_match(local_file, '/etc/smtpd/users'):
- print(green('Users changed, uploading new file...'))
+ print(green('==> Users changed, uploading new file...'))
put(local_path=local_file, remote_path='/etc/smtpd/users',
use_sudo=True)
sudo('smtpctl update table users')