本站源代码
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.

16 line
253B

  1. #!/sbin/openrc-run
  2. DIR=/var/lib/gitea
  3. USER=git
  4. start_stop_daemon_args="--user ${USER} --chdir ${DIR}"
  5. command="/usr/local/bin/gitea"
  6. command_args="web -c /etc/gitea/app.ini"
  7. command_background=yes
  8. pidfile=/var/run/gitea.pid
  9. depend()
  10. {
  11. need net
  12. }
上海开阖软件有限公司 沪ICP备12045867号-1