13 lines
308 B
Bash
13 lines
308 B
Bash
|
#!/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
|
||
|
systemctl daemon-reload
|
||
|
systemctl enable rosaria-docker.service
|
||
|
systemctl start rosaria-docker.service
|