Skip to content

Commit

Permalink
Fix #645
Browse files Browse the repository at this point in the history
  • Loading branch information
failys committed Aug 19, 2022
1 parent 4a73cc8 commit c6e376b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickInstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ sleep 10
export PYTHONPATH=$CAIRIS_ROOT
$CAIRIS_ROOT/cairis/bin/quick_setup_headless.py --rootDir=$CAIRIS_ROOT/cairis --dbRootPassword=$ROOTPW --logLevel=debug --user=$DEFUSER --password=$DEFPASSWD --configFile=$HOMEDIR/cairis.cnf

SVCFILE="[Unit]\nDescription=cairisd\n\n[Service]\nEnvironment=\"FLASK_APP=$CAIRIS_ROOT/cairis/daemon:create_app\"\nEnvironment=\"FLASK_ENV=development\"\nUser=$USERNAME\nWorkingDirectory=$CAIRIS_ROOT\nEnvironment=\"CAIRIS_CFG=$HOMEDIR/cairis.cnf\"\nEnvironment=\"PYTHONPATH=\${PYTHONPATH}:$CAIRIS_ROOT\"\nExecStart=flask run --port 7071\nRestart=on-failure\n\n[Install]\nWantedBy=multi-user.target"
SVCFILE="[Unit]\nDescription=cairisd\n\n[Service]\nEnvironment=\"FLASK_APP=$CAIRIS_ROOT/cairis/daemon:create_app\"\nEnvironment=\"FLASK_ENV=development\"\nUser=$USERNAME\nWorkingDirectory=$CAIRIS_ROOT\nEnvironment=\"CAIRIS_CFG=$HOMEDIR/cairis.cnf\"\nEnvironment=\"PYTHONPATH=\${PYTHONPATH}:$CAIRIS_ROOT\"\nExecStart=flask run --host 0.0.0.0 --port 7071\nRestart=on-failure\n\n[Install]\nWantedBy=multi-user.target"

echo -e $SVCFILE | sudo tee /etc/systemd/system/cairis.service

Expand Down

0 comments on commit c6e376b

Please sign in to comment.