rosaria/install.sh

16 lines
349 B
Bash
Raw Normal View History

2021-12-22 17:20:23 +01:00
#!/bin/bash
# Check if root
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
cp rosaria-docker.service /etc/systemd/system/
chmod g+w /etc/systemd/system/rosaria-docker.service
git submodule init
git submodule update
2021-12-22 17:20:23 +01:00
systemctl daemon-reload
systemctl enable rosaria-docker.service
systemctl start rosaria-docker.service