Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Make installation script automatically install the systemd daemon scripts #34

Closed
palisadoes opened this issue Dec 21, 2019 · 2 comments
Closed
Assignees
Labels

Comments

@palisadoes
Copy link
Contributor

palisadoes commented Dec 21, 2019

This will mean updating setup/install.py to also run setup/systemd/bin/install_systemd.py

There should be a CLI option flag(s) to do this.

@palisadoes palisadoes added the good first issue Good for newcomers label Dec 21, 2019
@palisadoes
Copy link
Contributor Author

If you are a business you'll want pattoo-web to automatically restart when the system reboots. Therefore a system daemon will need to be created. The daemon is there already, pattoo-webd, but a daemon file that alerts the operating system to start it isn't automatically installed when the installation procedure is done. The setup/systemd/bin/install_systemd.py script does this. So either the script needs to be run as a part of the installation or the code needs to be shared with the regular installation script.

@palisadoes
Copy link
Contributor Author

Installation will need to be done using sudo or root. The pip installations will need to be done in the home directory of the user on which pattoo-web will run. Or give the option for the installer for global or local installation. The creation of a docker file would be ideal so that users would install with just one command. Consider command line options for users to input data for prompts (argparse) so that installation could be 100% automated. It's more than what meets the eye.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants