Lines 42-49
forgejo_start() {
Link Here
|
42 |
/usr/sbin/daemon %%DAEMONARGS%% \ |
42 |
/usr/sbin/daemon %%DAEMONARGS%% \ |
43 |
-u ${forgejo_user} -p ${pidfile} \ |
43 |
-u ${forgejo_user} -p ${pidfile} \ |
44 |
/usr/bin/env -i \ |
44 |
/usr/bin/env -i \ |
45 |
"GITEA_WORK_DIR=${forgejo_shared}" \ |
45 |
"FORGEJO_WORK_DIR=${forgejo_shared}" \ |
46 |
"GITEA_CUSTOM=${forgejo_custom}" \ |
46 |
"FORGEJO_CUSTOM=${forgejo_custom}" \ |
47 |
"HOME=${githome}" \ |
47 |
"HOME=${githome}" \ |
48 |
"PATH=%%PREFIX%%/bin:${PATH}" \ |
48 |
"PATH=%%PREFIX%%/bin:${PATH}" \ |
49 |
"USER=${forgejo_user}" \ |
49 |
"USER=${forgejo_user}" \ |