diff --git a/services/000-master/app/src/AGEBD-SERVICE-MASTER.py b/services/000-master/app/src/AGEBD-SERVICE-MASTER.py index d04d4bf..46d9fbc 100644 --- a/services/000-master/app/src/AGEBD-SERVICE-MASTER.py +++ b/services/000-master/app/src/AGEBD-SERVICE-MASTER.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - """ General Infos - This application is intended to be run as a service on the SLS beam dynamics server for high level applications sls-vserv-bd-hla01 diff --git a/services/000-master/systemd/AGEBD-SERVICE-MASTER.service b/services/000-master/systemd/AGEBD-SERVICE-MASTER.service index 8bbd10d..a382a3c 100644 --- a/services/000-master/systemd/AGEBD-SERVICE-MASTER.service +++ b/services/000-master/systemd/AGEBD-SERVICE-MASTER.service @@ -3,6 +3,7 @@ Description=AGEBD-SERVICE-MASTER After=network.target [Service] +# TODO: env Environment=AGEBD_ENV=dev ExecStart=/sls/bd/hla/bin/start_service.sh 000 MASTER Restart=no @@ -12,5 +13,5 @@ WantedBy=default.target # https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html # systemctl --user daemon-reload -# systemctl --user enable /sls/bd/bin/systemd/AGEBD-SERVICE-NTURNS.service -# systemctl --user start AGEBD-SERVICE-NTURNS +# systemctl --user enable /sls/bd/bin/systemd/AGEBD-SERVICE-MASTER.service +# systemctl --user start AGEBD-SERVICE-MASTER