mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 20:17:03 +01:00
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)
This commit is contained in:
parent
2dd4ab65c7
commit
9e4c2afad7
1 changed files with 2 additions and 0 deletions
2
scripts/autoboot.sh
Normal file
2
scripts/autoboot.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
su git -c "/home/git/gogs/scripts/gogs_supervisord.sh restart"
|
Loading…
Reference in a new issue