Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

Make install deploys systemd service file #53

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nzrst
Copy link

@nzrst nzrst commented Jul 1, 2019

This update will do two things:

  1. If possible deploy library install path to ldconfig directory (/etc/ld.so.conf.d/) instead of using LD_LIBRARY_PATH.
  2. If possible deploy fw1-loggrabber.service file to /etc/systemd/service/.

So long as systemd is the active init system then this service will be installed and loaded, once the configuration files are written the service can simply be started with systemctl start fw1-loggrabber.

The service file is configured so that systemd will automatically restart fw1-loggrabber upon any type of failure and configures the current working directory to be /user/local/fw1-loggrabber.

If deploying a systemd service is not possible then the end of make install will display the same message as would have otherwise been seen.

@nzrst nzrst changed the title Make install systemd Make install deploys systemd service file Jul 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant