15 lines
319 B
Plaintext
15 lines
319 B
Plaintext
[Unit]
|
|
Description=<%= @service_name %> Daemon
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
User=<%= @user %>
|
|
Group=<%= @group %>
|
|
Type=simple
|
|
ExecStart=<%= @install_path %>/<%= @executable %> -nobrowser -data=<%= @base_path %>
|
|
KillMode=process
|
|
Restart=on-failure
|
|
TimeoutStopSec=20
|
|
[Install]
|
|
WantedBy=multi-user.target
|