Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Verify that symlinks are created for service files. #350

Closed
palisadoes opened this issue Aug 16, 2020 · 0 comments
Closed

Verify that symlinks are created for service files. #350

palisadoes opened this issue Aug 16, 2020 · 0 comments
Assignees

Comments

@palisadoes
Copy link
Contributor

Verify that symlinks are created for service files.

  1. If file, not symlink exists in /etc/systemd/system/multi-user.target.wants , delete and then systemctl
  2. If symlink don't exist - Use systemctl.

In all cases verify symlink exists.

$ ll /etc/systemd/system/multi-user.target.wants/pattoo_*
lrwxrwxrwx 1 root root 58 Jul 11 23:31 /etc/systemd/system/multi-user.target.wants/pattoo_agent_linux_autonomousd.service -> /lib/systemd/system/pattoo_agent_linux_autonomousd.service
lrwxrwxrwx 1 root root 51 Aug 13 22:35 /etc/systemd/system/multi-user.target.wants/pattoo_agent_linux_hubd.service -> /lib/systemd/system/pattoo_agent_linux_hubd.service
lrwxrwxrwx 1 root root 53 Aug 13 22:35 /etc/systemd/system/multi-user.target.wants/pattoo_agent_linux_spoked.service -> /lib/systemd/system/pattoo_agent_linux_spoked.service
lrwxrwxrwx 1 root root 46 Dec  8  2019 /etc/systemd/system/multi-user.target.wants/pattoo_agent_snmpd.service -> /lib/systemd/system/pattoo_agent_snmpd.service
lrwxrwxrwx 1 root root 52 Jul  4 19:07 /etc/systemd/system/multi-user.target.wants/pattoo_agent_snmp_ifmibd.service -> /lib/systemd/system/pattoo_agent_snmp_ifmibd.service
lrwxrwxrwx 1 root root 45 Dec  8  2019 /etc/systemd/system/multi-user.target.wants/pattoo_api_agentd.service -> /lib/systemd/system/pattoo_api_agentd.service
lrwxrwxrwx 1 root root 39 Jul 11 18:20 /etc/systemd/system/multi-user.target.wants/pattoo_apid.service -> /lib/systemd/system/pattoo_apid.service
lrwxrwxrwx 1 root root 44 Dec  8  2019 /etc/systemd/system/multi-user.target.wants/pattoo_ingesterd.service -> /lib/systemd/system/pattoo_ingesterd.service
lrwxrwxrwx 1 root root 39 Dec  8  2019 /etc/systemd/system/multi-user.target.wants/pattoo_webd.service -> /lib/systemd/system/pattoo_webd.service

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants