Commit Graph

6 Commits

Author SHA1 Message Date
Sandro Santilli 145ab5c89a Rename and update init files to use "gitea" instead of "gogs"
Closes #102
2016-11-07 16:06:21 +01:00
Sandro Santilli b7263f31a5 Replace GOGS with GITEA in variable names
Still use GOGS_WORK_DIR and GOGS_CUSTOM env variables
as a fallback if the equivalent GITEA_* are not set,
warning user about the need for change.

Does not change "gogs" to "gitea" in webhook type name
Because "gogs" hook type is part of the API (routes) and used
in templates...

Closes #87
2016-11-07 16:05:18 +01:00
Koen Wilde 4db0e1d340 Fix status command in FreeBSD init script
If the init script is called with `status`, the rc.subr(8) routines check if
the first argument associated with the pid in the pidfile is equal to
`procname`. By default, `procname` is equal to the value of `command`. In our
case, `command` contains a space (i.e. has multiple arguments), so `procname`
can never be equal to the first argument of the command associated with the
pid.

Set `procname` to the first argument of `command` to fix the `status` command
of the init script.
2016-01-09 13:31:45 +01:00
Renato Aquino 923c45d721 HOME fix into FreeBSD init script 2015-11-12 15:36:35 -02:00
William Friesen bfef8f0edd Fix command used by FreeBSD init script 2015-06-09 21:40:43 +10:00
Clint Armstrong 66a9c0d71d Rename scripts/rc/freebsd/gogs to scripts/init/freebsd/gogs 2015-01-30 22:52:57 -05:00