diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2017-12-18 23:57:06 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2017-12-18 23:57:06 +0000 |
commit | 80c876d85e9c94c4a289aa63dbdfda6ba4c4cb6a (patch) | |
tree | 71d452220ed60941fcb614e18df12d074d85001f /devel/gogs/files/gogs.in | |
parent | New port: net-im/telegram-desktop: Telegram Desktop messaging app (diff) |
devel/gogs: Changed user from gogs to git; Moved ini file under /usr/local/etc
PR: 224113
Submitted by: Dmitri Goutnik <dg@syrec.org> (maintainer)
Approved by: adamw (mentor)
Differential Revision: https://reviews.freebsd.org/D13469
Diffstat (limited to 'devel/gogs/files/gogs.in')
-rw-r--r-- | devel/gogs/files/gogs.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/gogs/files/gogs.in b/devel/gogs/files/gogs.in index dbcd5fc2ea62..8ca814466134 100644 --- a/devel/gogs/files/gogs.in +++ b/devel/gogs/files/gogs.in @@ -2,5 +2,5 @@ cd %%PREFIX%%/libexec/%%PORTNAME%% && USER=%%GOGS_USER%% \ -HOME=$(getent passwd %%GOGS_USER%% | cut -d: -f6) \ -su -m %%GOGS_USER%% -c './%%PORTNAME%% web' +HOME=$(echo ~%%GOGS_USER%%) \ +su -m %%GOGS_USER%% -c './%%PORTNAME%% web --config %%ETCDIR%%/conf/app.ini' |