You are not logged in.

#1 2013-11-11 01:42:59

Alister.Hood
Member
From: Auckland, New Zealand
Registered: 2011-12-09
Posts: 18

What makes a systemd service "static"? [SOLVED]

Hi,
I was annoyed by seeing Python running at boot, so I temporarily renamed it and rebooted, which revealed that it was being run by hplip-printer@001:002.service
Running `systemctl list-unit-files` shows that this is a "static" service.
I spent quite a while googling and reading man files, and found that the way to disable a static service is e.g. `systemctl mask hplip-printer@`.  But I can't figure out what actually makes it a static service.  This seems like a fairly basic question - is there something obvious I'm missing?

Thanks.

Last edited by Alister.Hood (2013-11-16 23:46:42)

Offline

#2 2013-11-11 12:19:23

Raynman
Member
Registered: 2011-10-22
Posts: 1,443

Re: What makes a systemd service "static"? [SOLVED]

Offline

#3 2013-11-11 21:33:49

Alister.Hood
Member
From: Auckland, New Zealand
Registered: 2011-12-09
Posts: 18

Re: What makes a systemd service "static"? [SOLVED]

Thanks.
I'd wondered if static services were just those without an "install" section, but I couldn't see anything that was starting this or some others I looked at previously, while others without an install section weren't being started.
I see now that in this case it is started by /usr/lib/udev/rules.d/56-hpmud.rules

Last edited by Alister.Hood (2013-11-11 21:34:04)

Offline

Board footer

Powered by FluxBB