-
Notifications
You must be signed in to change notification settings - Fork 1
Rec Sys as systemd service
Adrian Marino edited this page Feb 4, 2023
·
3 revisions
Step 1: Clonar repo.
$ cd ~
$ git clone https://github.com/magistery-tps/rec-sys.git
$ cd rec-sysStep 2: Crear conda environment requerido para correr recsys como un servicio.
$ conda env update -f environment.ymlStep 3: Copiar file.service a ~/.config/systemd/user/:
$ cp recsys.service ~/.config/systemd/user/Step 4: Importar variable de entoeno requeridas por la aplicación:
$ echo "source ~/rec-sys/.shell.recsysrc" >> ~/.bashrc
ó
$ echo "source ~/rec-sys/.shell.recsysrc" >> ~/.zshrcStep 4: Referscar la configuración de systemd.
$ systemctl --user daemon-reloadStep 5: Habilitar el servicio apra que se inie al bootear el sistema.
$ systemctl --user enable recsysStep 6: Iniciar el servicio en background.
$ systemctl --user start recsys