mirror of
https://github.com/BastilleBSD/templates.git
synced 2025-12-10 17:00:30 +01:00
* README cleanup * template migration * convert percona to new bastillefile format * convert gitlab to bastillefile format * convert php to bastillefile format --------- Co-authored-by: Barry McCormick <bmccormick@debianbeast.maildragon.com>
30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
## Change ARG values for customizing
|
|
ARG user=lidarr
|
|
ARG group=lidarr
|
|
ARG data_dir=/usr/local/lidarr
|
|
ARG out_port=8686
|
|
|
|
## allow_raw_sockets is helpful for troubleshooting (e.g. ping, traceroute) but is not a requirement.
|
|
#CONFIG set allow.raw_sockets;
|
|
|
|
#################################################################
|
|
###################### DO NOT EDIT #############################
|
|
CONFIG set allow.mlock=1;
|
|
CONFIG set enforce_statfs=1;
|
|
RESTART
|
|
PKG lidarr
|
|
SYSRC lidarr_enable=YES
|
|
SYSRC lidarr_user="${user}"
|
|
SYSRC lidarr_group="${group}"
|
|
SYSRC lidarr_data_dir="${data_dir}"
|
|
SERVICE lidarr start
|
|
RDR tcp ${out_port} 8686
|
|
#################################################################
|
|
#################################################################
|
|
|
|
## The updater is disabled by default. The pkg-message gives instructions on how to enable the updater but keep in mind: this can break things like pkg check -s and pkg remove for lidarr when the built-in updater replaces files. If you like to use the updater in lidarr UI, remove (#)
|
|
#CMD rm /usr/local/share/lidarr/package_info
|
|
#CMD chown -R ${user}:${group} /usr/local/share/lidarr/bin
|
|
|
|
SERVICE lidarr restart
|