diff --git a/templates/systemd.erb b/templates/systemd.erb index acfe616..d7d99d9 100644 --- a/templates/systemd.erb +++ b/templates/systemd.erb @@ -7,6 +7,7 @@ User=<%= @user %> Group=<%= @group %> Type=simple ExecStart=/usr/bin/mono <%= @install_path %>/<%= @executable %> -nobrowser -data <%= @base_path %> +Restart=always TimeoutStopSec=20 [Install]