mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 07:00:31 -04:00
PR: 205283 Submitted by: Dmitri Goutnik <dg@syrec.org> Approved by: tcberner (mentor), adamw (mentor) Differential Revision: https://reviews.freebsd.org/D13141
6 lines
166 B
Bash
6 lines
166 B
Bash
#!/bin/sh
|
|
|
|
cd %%PREFIX%%/libexec/%%PORTNAME%% &&
|
|
USER=%%GOGS_USER%% \
|
|
HOME=$(getent passwd %%GOGS_USER%% | cut -d: -f6) \
|
|
su -m %%GOGS_USER%% -c './%%PORTNAME%% web'
|