diff --git a/templates/deluge-web.service.j2 b/templates/deluge-web.service.j2 index f75e97e..2058d96 100644 --- a/templates/deluge-web.service.j2 +++ b/templates/deluge-web.service.j2 @@ -9,9 +9,9 @@ Type=simple UMask=027 {% if enable_logging == true %} -ExecStart=/usr/bin/deluge-web -d -c {{ deluge_config_dir }} -l {{ deluge_log_dir }}web.log -L {{ deluge_log_level }} +ExecStart=/usr/bin/deluge-web -c {{ deluge_config_dir }} -l {{ deluge_log_dir }}web.log -L {{ deluge_log_level }} {% else %} -ExecStart=/usr/bin/deluge-web -d -c {{ deluge_config_dir }} +ExecStart=/usr/bin/deluge-web -c {{ deluge_config_dir }} {% endif %} Restart=on-failure