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 ...
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 ...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
services × 1068systemd × 423
linux × 171
ubuntu × 110
debian × 91
centos × 78
systemctl × 69
daemon × 59
sysvinit × 53
startup × 47
rhel × 44
shell-script × 43
networking × 38
boot × 30
bash × 27
process × 24
cron × 23
systemd-unit × 23
ssh × 22
python × 22
init-script × 22
logs × 20
linux-mint × 18
permissions × 17
fedora × 17