feat: add radarr module

This commit is contained in:
2024-06-25 23:03:04 +10:00
parent 6993ff0036
commit 17c16bfc33
7 changed files with 220 additions and 0 deletions
@@ -0,0 +1,14 @@
[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
@@ -0,0 +1,16 @@
<Config>
<BindAddress><%= @bind_address %></BindAddress>
<Port><%= @port %></Port>
<SslPort><%= @ssl_port %></SslPort>
<EnableSsl><%= @enable_ssl.to_s.capitalize %></EnableSsl>
<LaunchBrowser><%= @launch_browser.to_s.capitalize %></LaunchBrowser>
<ApiKey><%= @api_key %></ApiKey>
<AuthenticationMethod><%= @authentication_method %></AuthenticationMethod>
<AuthenticationRequired><%= @authentication_required %></AuthenticationRequired>
<Branch><%= @branch %></Branch>
<LogLevel><%= @log_level %></LogLevel>
<SslCertPath><%= @ssl_cert_path || '' %></SslCertPath>
<SslCertPassword><%= @ssl_cert_password || '' %></SslCertPassword>
<UrlBase><%= @url_base || '' %></UrlBase>
<InstanceName><%= @instance_name %></InstanceName>
</Config><%- # No newline at the end of the file -%>