FliKISS comes with the command flikiss to launch a CherryPy server to serve the application.
If you have installed it in a virtualenv you need to prefix it with your virtualenv path : $PATH_TO_VIRTUALENV/bin/flikiss
$ flikiss --ip 127.0.0.1 --port 8000 --url / --config /home/test/.flikissrc
That’s it, FliKISS now run on the port given in argument you can then access it at http://ip:port/url/
FliKISS does not come with something build for this. You have several solutions.
To run a command in background you can run it in a shell background process with nohup
$ nohup flikiss [-options]
Or run it in a screen
$ screen
$ flikiss [-options]
Press Ctrl + A then d. Your session keep going on in background.
Supervisor is a program to manage processes, it can be easily installed using your package manager or pip.
Create a configuration file /etc/supervisor/conf.d/flikiss.conf
[program:flikiss]
command=flikiss [-options]
directory=/path-to-home/
environment=HOME='/path-to-home/'
autostart=true
autorestart=true
Then you need to enable your config file using as root
# supervisorctl update
# supervisorctl start your-app