aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2017-09-27 15:31:06 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2017-09-27 15:31:06 +0000
commitdd9eea00af826df1efedb4f132e448c1e9b51a69 (patch)
tree44b86d2907a6bc0d8b4020c5d43d9cdffc647b1d /net-im
parent9664247ff829f3b1537fead13c17c606e44c06a6 (diff)
downloadports-dd9eea00af826df1efedb4f132e448c1e9b51a69.tar.gz
ports-dd9eea00af826df1efedb4f132e448c1e9b51a69.zip
Notes
Diffstat (limited to 'net-im')
-rw-r--r--net-im/mastodon/Makefile1
-rw-r--r--net-im/mastodon/files/mastodon_web.in1
-rw-r--r--net-im/mastodon/files/mastodon_workers.in1
3 files changed, 3 insertions, 0 deletions
diff --git a/net-im/mastodon/Makefile b/net-im/mastodon/Makefile
index eab6a199c9b8..2257f3a3abbd 100644
--- a/net-im/mastodon/Makefile
+++ b/net-im/mastodon/Makefile
@@ -3,6 +3,7 @@
PORTNAME= mastodon
DISTVERSIONPREFIX= v
DISTVERSION= 1.6.1
+PORTREVISION= 1
CATEGORIES= net-im www
MAINTAINER= jrm@FreeBSD.org
diff --git a/net-im/mastodon/files/mastodon_web.in b/net-im/mastodon/files/mastodon_web.in
index ccdd3c53e038..edfbd2e1ace9 100644
--- a/net-im/mastodon/files/mastodon_web.in
+++ b/net-im/mastodon/files/mastodon_web.in
@@ -33,6 +33,7 @@ mastodon_web_user="mastodon"
pidfile="%%WWWDIR%%/tmp/${name}.pid"
procname="%%RUBY%%:"
+start_precmd="rm -f %%WWWDIR%%/Gemfile.lock"
command="%%PREFIX%%/bin/puma"
command_flags="-C config/puma.rb"
command_args=">> /var/log/mastodon/${name##mastodon_}.log 2>&1 &"
diff --git a/net-im/mastodon/files/mastodon_workers.in b/net-im/mastodon/files/mastodon_workers.in
index 365b7d8d523c..cb793deb0182 100644
--- a/net-im/mastodon/files/mastodon_workers.in
+++ b/net-im/mastodon/files/mastodon_workers.in
@@ -30,6 +30,7 @@ mastodon_workers_user="mastodon"
pidfile="%%WWWDIR%%/tmp/${name}.pid"
procname="%%RUBY%%:"
+start_precmd="rm -f %%WWWDIR%%/Gemfile.lock"
command="%%PREFIX%%/bin/sidekiq"
command_flags="-c ${mastodon_workers_threads} -q default -q mailers -q pull -q push"
command_args=">> /var/log/mastodon/${name##mastodon_}.log 2>&1 &"