Missing ReenableUnitFiles function

Open
#374 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go

Research direction

Start by locating the Go systemd D-Bus unit-file methods that handle enabling and disabling services, then compare them with the ReenableUnitFiles D-Bus API. Add the matching method and verify that it atomically updates the [Install] section symlinks; the issue does not name a specific file or test.

Written by the indexing model from the issue text.

Description

It would be useful to have a ReenableUnitFiles method that matches the D-BUS API so we can atomically disable/enable services to make changes to the [Install] section and get symlinks fixed.

Dominant language
Go
Stars
2.7k
Forks
338
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from coreos/go-systemd

All issues in coreos/go-systemd

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.