[sysadmin-bin] export-mail.py: Add easy way to force restart of sssd, sshd on menubar
- From: Olav Vitters <ovitters src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] export-mail.py: Add easy way to force restart of sssd, sshd on menubar
- Date: Mon, 16 May 2011 08:15:00 +0000 (UTC)
commit 4482d681c5134384034dee3bcd32eae68998be2a
Author: Olav Vitters <olav vitters nl>
Date: Mon May 16 10:14:50 2011 +0200
export-mail.py: Add easy way to force restart of sssd,sshd on menubar
mail/export-mail.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/mail/export-mail.py b/mail/export-mail.py
index 6126a3e..770f675 100755
--- a/mail/export-mail.py
+++ b/mail/export-mail.py
@@ -101,3 +101,6 @@ if __name__ == '__main__':
l.unbind_s()
+#if __name__ == '__main__':
+# subprocess.call(['/sbin/service', 'sssd', 'restart'])
+# subprocess.call(['/sbin/service', 'sshd', 'restart'])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]