chore: add template files
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user