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

Use systemctl for shutdown/reboot functions. #2574

Open
Hooverdan96 opened this issue Jun 6, 2023 · 3 comments
Open

Use systemctl for shutdown/reboot functions. #2574

Hooverdan96 opened this issue Jun 6, 2023 · 3 comments

Comments

@Hooverdan96
Copy link
Member

Hooverdan96 commented Jun 6, 2023

As suggested by @phillxnet here: #2567 creating a separate issue for this.

After the move of some paths from the settings.py to constants.py, I noticed the shutdown path.

In the spirit of simplification, I am proposing to use systemctl poweroff/systemctl reboot instead of the shutdown command/path to get rid of another setting/path to keep track of.

@phillxnet
Copy link
Member

@Hooverdan96 Thanks.

Lets address this once we have our current Py3.6 Milestone sorted.

@phillxnet
Copy link
Member

Linking to the related proposal by @FroggyFlox to replace our direct interaction with systemd all-together:
#2680

I.e. we might use this issue to test-run/trial our adoption of pystemd, whilst simultaneously removing said low-level path entries: and using systemd shutdown/reboot commands (but via psystemd).

@phillxnet
Copy link
Member

@Hooverdan96
Re:

Lets address this once we have our current Py3.6 Milestone sorted.

OK, so we've just closed our Py3.11 Milestone - I think that qualifies now :) .

This one should be fairly straigh-forward - and I don't think it should necessarily await #2680 as that is a far larger scope and this is a step within that scope: as I see it.

@phillxnet phillxnet added this to the 5.1.X-X Stable release milestone Nov 24, 2023
@phillxnet phillxnet removed this from the 5.1.X-X Stable release milestone Mar 22, 2024
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

2 participants