You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

gitea 276B

12345678910111213141516171819
  1. #!/bin/sh
  2. #
  3. # $OpenBSD$
  4. daemon="/usr/local/bin/gitea"
  5. daemon_user="git"
  6. daemon_flags="web -c /etc/gitea/app.ini"
  7. gitea_directory="/var/lib/gitea"
  8. rc_bg=YES
  9. . /etc/rc.d/rc.subr
  10. rc_start() {
  11. ${rcexec} "cd ${gitea_directory}; ${daemon} ${daemon_flags} ${_bg}"
  12. }
  13. rc_cmd $1