mmmonit 0.2.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2022-07-03 02:05:23 -03:00
parent dc6f91aa98
commit 9e0a1b4d25
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,8 @@ ARG BASE_IMAGE=sutty/monit
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
MAINTAINER "f <f@sutty.nl>"
ENV DATABASE_URL "/srv/mmmonit.sqlite3"
RUN apk add --no-cache mmmonit daemonize
COPY ./monit.conf /etc/monit.d/mmmonit.conf

View file

@ -10,7 +10,6 @@ usr=${USER:-nobody}
case $1 in
start)
chown -R ${usr}:${usr} ${dir}
install -dm 750 -o ${usr} -g ${usr} ${dir}/storage ${dir}/storage/xml
daemonize -a -e ${log} -o ${log} -c ${dir} -p ${pid} -l ${pid} -u ${usr} /usr/bin/mmmonit -b :: -p 3000
;;
stop)