0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-08 19:01:04 -05:00
forgejo/scripts/autoboot.sh
jacksonpan 9e4c2afad7 add auto start script
how to use:
vim /etc/rc.local, then add
cd /home/git/gogs; scripts/autoboot.sh
(goes path you can replace your path)
2014-10-13 14:32:08 +08:00

2 lines
73 B
Bash

#!/bin/sh
su git -c "/home/git/gogs/scripts/gogs_supervisord.sh restart"