[geany/www.geany.org] be0745: Add missing "sudo" to service restart

Enrico Tröger git-noreply at xxxxx
Sun Jun 7 22:28:47 UTC 2020


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Sun, 07 Jun 2020 22:28:47 UTC
Commit:      be07452cb85090845e5c707d011c65ed600ae857
             https://github.com/geany/www.geany.org/commit/be07452cb85090845e5c707d011c65ed600ae857

Log Message:
-----------
Add missing "sudo" to service restart


Modified Paths:
--------------
    fabfile.py

Modified: fabfile.py
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -74,4 +74,4 @@ def deploy(connection):
     _sudo_django_manage_command(connection, 'clear_cache')
 
     # restart UWSGI process
-    _sudo_in_project_directory(connection, 'systemctl restart {}'.format(SYSTEMD_SERVICE_NAME))
+    _sudo_in_project_directory(connection, 'sudo systemctl restart {}'.format(SYSTEMD_SERVICE_NAME))



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list