radical-api/install
Riley Housden 0b6dd59da0
Rework install script
Now the added user clones the repo to run.
2021-11-30 02:13:39 -05:00

7 lines
342 B
Text
Executable file

adduser --system --home /otp/radical-api radical-api
addgroup --system radical-api
adduser radical-api radical-api
sudo -u radical-api git clone https://gitdab.com/InValidFire/radical-api.git
sudo -u radical-api python3 -m pip install -r /otp/radical-api/requirements.txt
cp radical-api.service /etc/systemd/system
systemd enable radical-api