Skip to content

Commit

Permalink
Clean-up file.
Browse files Browse the repository at this point in the history
  • Loading branch information
MayaPosch committed Mar 27, 2020
1 parent c2fdf4f commit ed393bb
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions install_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,14 @@
# NymphCast installer for the Linux platform.
# Requires that the binaries have been compiled with the 'setup.sh' script first.

TARGET_FOLDER="/opt/nymphcast"

# Check for the presence of the target folder
# if [ -f "${TARGET_FOLDER}" ]; then
# echo "Existing NymphCast folder found. Upgrading..."
# else
# sudo mkdir -p "${TARGET_FOLDER}"
# fi

# Copy the files to the target folder.
#sudo cp -r src/server/bin/* "${TARGET_FOLDER}"
sudo make -C src/server/ install

# Install systemd or openrc service.
if [ -d "/run/systemd/system" ]; then
#sudo cp src/server/systemd/nymphcast.service /etc/systemd/system/.
sudo make -C src/server/ install-systemd
sudo ln -s /etc/systemd/system/nymphcast.service /etc/systemd/system/multi-user.target.wants/nymphcast.service
else
#sudo cp src/server/openrc/nymphcast /etc/init.d/nymphcast
sudo make -C src/server/ install-openrc
fi

Expand Down

0 comments on commit ed393bb

Please sign in to comment.