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

Make install deploys systemd service file#53

Open
nzrst wants to merge 2 commits into
certego:masterfrom
nzrst:make-install-systemd
Open

Make install deploys systemd service file#53
nzrst wants to merge 2 commits into
certego:masterfrom
nzrst:make-install-systemd

Conversation

@nzrst

@nzrst nzrst commented Jul 1, 2019

Copy link
Copy Markdown

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