Symlink to path.
This commit is contained in:
parent
fdd890d441
commit
dcb820e844
|
@ -63,6 +63,7 @@ fi
|
||||||
sudo chmod +x /opt/gitea/gitea-$VER
|
sudo chmod +x /opt/gitea/gitea-$VER
|
||||||
rm -f /opt/gitea/gitea
|
rm -f /opt/gitea/gitea
|
||||||
sudo ln -sf gitea-$VER /opt/gitea/gitea
|
sudo ln -sf gitea-$VER /opt/gitea/gitea
|
||||||
|
sudo ln -sf gitea-$VER /usr/local/bin/gitea
|
||||||
|
|
||||||
# Download and install the gitea.service for systemd
|
# Download and install the gitea.service for systemd
|
||||||
sudo curl -fsSL -o /etc/systemd/system/gitea.service https://git.coolaj86.com/coolaj86/gitea-installer.sh/raw/branch/master/dist/etc/systemd/system/gitea.service
|
sudo curl -fsSL -o /etc/systemd/system/gitea.service https://git.coolaj86.com/coolaj86/gitea-installer.sh/raw/branch/master/dist/etc/systemd/system/gitea.service
|
||||||
|
|
Loading…
Reference in New Issue