Skip to main content
2 votes

Automatically turn on and off rarely used services

Yes, that's possible with a systemd.socket. The man systemd.socket page actually is kind of nice, but in short: You need a something.socket file You need a something.service file The socket file ...
Marcus Müller's user avatar
1 vote
Accepted

What is "p-portal" I saw in System Monitor in Linux on several occasions?

Parenthesis enclosed names: When systemd starts a process it first forks off a process, then adjusts the process' parameters according to the service config and finally invokes execve() to execute the ...
Amirreza's user avatar
  • 203
1 vote
Accepted

docker command not found by systemd service

Thanks to muru 's latest answer I had a look at the docker run command and realised that my blindly copy-pasted command docker run -p 8080:8080 -v /mnt/860Evo/open-webui:/app/backend/data -e ...
HangryChicken1245234's user avatar
1 vote

Restart user systemd after groupadd

The user needs to be fully logged out and back in. If stopping the service and starting it again is not enough, the session the service was running under might still be lingering. Find the IDs of all ...
gecko's user avatar
  • 158
1 vote

How to make multiple systemd services start/stop as a group?

There's a completely different approach you can take for this using Slice definitions. Within each sub-service, set the Slice attribute: [Service] ... Slice=app.slice Delete the fake app.service and ...
hughes's user avatar
  • 111

Only top scored, non community-wiki answers of a minimum length are eligible