Enable systemd service to restart automatically
This commit is contained in:
parent
446295ee82
commit
64ab5bc9b1
@ -7,6 +7,7 @@ User=<%= @user %>
|
|||||||
Group=<%= @group %>
|
Group=<%= @group %>
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/mono <%= @install_path %>/<%= @executable %> -nobrowser -data <%= @base_path %>
|
ExecStart=/usr/bin/mono <%= @install_path %>/<%= @executable %> -nobrowser -data <%= @base_path %>
|
||||||
|
Restart=always
|
||||||
|
|
||||||
TimeoutStopSec=20
|
TimeoutStopSec=20
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user