Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postfix services arent reconised #66

Closed
sean797 opened this issue Nov 3, 2016 · 0 comments
Closed

Postfix services arent reconised #66

sean797 opened this issue Nov 3, 2016 · 0 comments

Comments

@sean797
Copy link
Collaborator

sean797 commented Nov 3, 2016

The output below shows applications master, pickup & qmgr these are all recognised as "Package: postfix". https://github.com/FrostyX/tracer/blob/master/tracer/resources/applications.py#L196 checks for a service file named my the app 'name'. If this fails we chould also check for a service named the same as the package. In this case /usr/lib/systemd/system/postfix.service
I guess we could also define them these in applications.xml but the above seems like a better solution to me?

[root@centos7-katello-client tracer]# tracer -ei
You should restart:
[1] NetworkManager
[2] goferd
[3] master
[4] pickup
[5] qmgr
[6] sshd
[7] tuned

Press application number for help or 'q' to quit
--> 3
* master
    Package:     postfix
    Description: Postfix Mail Transport Agent
    Type:        Application
    State:       master has been started by root 1 hours ago. PID - 1258
--> 4
* pickup
    Package:     postfix
    Description: Postfix Mail Transport Agent
    Type:        Application
    State:       pickup has been started by postfix 1 hours ago. PID - 1275
--> 5
* qmgr
    Package:     postfix
    Description: Postfix Mail Transport Agent
    Type:        Application
    State:       qmgr has been started by postfix 1 hours ago. PID - 1276
@sean797 sean797 closed this as completed in c2a5b9e Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant