You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Help : Good morning to all. In the previous post I mentioned the alarm server and how to run its service with a preloaded configuration, if any of you know how I should structure well in the ExecStart to work loading the alarm from an xml file and keep the alarm active with the server always. Since every time I start the machine, the alarm components are deleted along with their pvs.
alarm_server.service
[Unit]
Description=Phoebus Alarm Server
After=kafka.service (general)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Help : Good morning to all. In the previous post I mentioned the alarm server and how to run its service with a preloaded configuration, if any of you know how I should structure well in the ExecStart to work loading the alarm from an xml file and keep the alarm active with the server always. Since every time I start the machine, the alarm components are deleted along with their pvs.
alarm_server.service
[Unit]
Description=Phoebus Alarm Server
After=kafka.service (general)
[Service]
User=DESIRED_USER
Group=DESIRED_GROUP
Environment=JAVA_HOME=/PATH/TO/JDK
Environment=SERVER=/PATH/TO/phoebus-alarm-server
Environment=PORT=4609
Environment=CONFIG=Accelerator
Environment=PATH=/PATH/TO/JDK/bin:/usr/bin
ExecStart=/usr/bin/procServ --foreground --noautorestart --name alarm-server --chdir ${SERVER} --logfile ${SERVER}/console.log ${PORT} ./alarm-server.sh -settings /PATH/TO/phoebus.ini -config ${CONFIG}
Systemd stops alarm server by killing the process
[Install]
WantedBy=multi-user.target
Beta Was this translation helpful? Give feedback.
All reactions