serviceman remove #3

Open
opened 2019-07-11 13:06:36 +00:00 by ryanburnette · 2 comments

serviceman remove might also be nice to have.

This SuperUser post gives a good recipe for removal that can both be used in the interim and as a template for the removal process that will be added.

systemctl stop [servicename]
systemctl disable [servicename]
rm /etc/systemd/system/[servicename]
rm /etc/systemd/system/[servicename] symlinks that might be related
systemctl daemon-reload
systemctl reset-failed

It would also be good for serviceman remove and serviceman rm to both work for the value of being intuitive.

`serviceman remove` might also be nice to have. [This SuperUser post](https://superuser.com/a/936976) gives a good recipe for removal that can both be used in the interim and as a template for the removal process that will be added. ``` systemctl stop [servicename] systemctl disable [servicename] rm /etc/systemd/system/[servicename] rm /etc/systemd/system/[servicename] symlinks that might be related systemctl daemon-reload systemctl reset-failed ``` It would also be good for `serviceman remove` and `serviceman rm` to both work for the value of being intuitive.
Owner

Agreed. And it wouldn't be difficult. I think you should take this on yourself after we work on the other one together.

Agreed. And it wouldn't be difficult. I think you should take this on yourself after we work on the other one together.
Author

Sounds good.

Sounds good.
ryanburnette changed title from Feature Request remove to serviceman remove 2021-02-15 23:18:44 +00:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coolaj86/go-serviceman#3
No description provided.