Add systemd script

Environment

Linux, Systemd

Description

If systemd is installed and active add hpcc-init.service and hpcc-init@.service to systemd script directory and enable them.
Difference between hpcc-init.service and hpcc-init@.service:
hpcc-init.service output to system log under /var/log
hpcc-init@.service output to both system log and STDOUT/STDERR. But user should know TTY path

usage:
hpcc-init.service:
sudo service hpcc-init <start|stop|restart> or
systemctl <start|stop|restart> hpcc-init

systemd will write standardout and standard error to system log under /var/log. User can run "journalctl -u hpcc-init" to retrieve the log

hpcc-init@.service:
sudo service hpcc-init@<tty id> <start|stop|restart> or
systemctl <start|stop|restart> hpcc-init@<tty id>
For example if tty path is /dev/pts/2 the <tty id> is 2.

Conclusion

None
100% Done
0

Activity

Show:

Greg Panagiotatos June 16, 2016 at 3:08 PM

Seems to be a duplicate of the resolved 13703. However found an issue with the heading for this section. So will be addressing that under this issue to resolve this.

Greg Panagiotatos June 2, 2016 at 3:14 PM

Is this the same as
https://hpccsystems.atlassian.net/browse/HPCC-13703
which then can be resolved?

Lorraine Chapman June 2, 2015 at 1:50 PM

- Thinks this could be a docs issue only but is still investigating whether any other work is required

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Priority

Fix versions

Affects versions

Created May 20, 2015 at 6:43 PM
Updated June 16, 2016 at 3:51 PM
Resolved June 16, 2016 at 3:51 PM

Flag notifications