From 2dff9d6ad0d942ebdd5fd7cc335b82c508d04a62 Mon Sep 17 00:00:00 2001 From: vincent Date: Wed, 15 May 2019 19:25:26 +0200 Subject: [PATCH] add wanted by to gunicorn service --- templates/systemd/gunicorn.service.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/systemd/gunicorn.service.j2 b/templates/systemd/gunicorn.service.j2 index db9eedb..039c888 100644 --- a/templates/systemd/gunicorn.service.j2 +++ b/templates/systemd/gunicorn.service.j2 @@ -13,3 +13,5 @@ ExecReload=/bin/kill -s HUP $MAINPID ExecStop=/bin/kill -s TERM $MAINPID PrivateTmp=true +[Install] +WantedBy=default.target