diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-27 15:23:47 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-27 15:23:47 +0200 |
commit | 7842e740becc743f35b840d6c906f74f800dd349 (patch) | |
tree | 4a2ffaba057f3062c50ed924324dbf9b50bffca8 | |
parent | 4d841a8a4a0911bb1d4279ea77475445ac14bcba (diff) | |
download | smtpd-conf-7842e740becc743f35b840d6c906f74f800dd349.tar.xz |
Use arrow in config-changed messaeg
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r-- | fabfile.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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') |