Running Cells as a service with Systemd
You can use systemd as a way to run cells as a service, it will provide you advantages such as automatically restarting your cells after failure.
Note: this configuration assume you have done a vanilla setup following our installation guides. Adapt to your specific setup if necessary.
Create new /etc/systemd/system/cells.service
file with following content:
If you are running Pydio Cells in a production environment, you probably want to enable production logging:
Then, enable and start the service:
Logs can then be found in /home/pydio/.config/pydio/cells/logs/cells.log
.
Alternative configuration¶
If you prefer having the logs integrated in the standard journalctl
service, you can replace the ExecStart
directive from the above file with:
The output of the service can then be tailed with this command:
```sh sudo journalctl -f -u cells