epicsdeb / epics-base

EPICS Base packaging
http://www.aps.anl.gov/epics/
Other
5 stars 10 forks source link

systemctl unit file for caRepeater points to wrong binary #27

Open ralphlange opened 3 years ago

ralphlange commented 3 years ago

The systemctl unit file /lib/systemd/system/caRepeater.service points to the wrong binary:

root@debian-testing:~# cat /lib/systemd/system/caRepeater.service 
#
# Linux systemd service file for the EPICS CA Repeater

# [...snip...]

[Service]
ExecStart=/build/epics-base-3.15.6/bin/linux-x86_64/caRepeater
Restart=always
User=daemon

[Install]
WantedBy=multi-user.target

That needs to point to /usr/bin/caRepeater to succeed.

mdavidsaver commented 3 years ago

I think this is (also) a Base bug. The caRepeater sysv script has the same issue. These files are being expanded with INSTALL_LOCATION instead of FINAL_LOCATION.

mdavidsaver commented 3 years ago

cf. https://github.com/epics-base/epics-base/issues/167