running fossil as a daemon process
This is just a note to myself in case I need it 🙂
To run fossil as a daemon process on Ubuntu. I did the following:
- Created a fossil user and home directory and gave it a copy of the fossil executable and the website fossil file
- Created a fossil/etc/init.d/fossil file
- Issued
sudo /etc/init.d/fossil start
- Run
sudo update-rc.d fossil defaults
to get the init.d script run at system start.
This /etc/init.d/fossil runs multiple fossils.
I'll probably convert this to use the standard 'skeleton' in the /etx/init.d directory of ubuntu at some point.
I've updated the fossil in this post to fix some minor problems. Those fixes mean that I'm unlikely to do the suggested conversion.