• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

Linux Where are these services located?

dEEpEst

☣☣ In The Depths ☣☣
Staff member
Administrator
Super Moderator
Hacker
Specter
Crawler
Shadow
Joined
Mar 29, 2018
Messages
13,861
Solutions
4
Reputation
32
Reaction score
45,552
Points
1,813
Credits
55,350
‎7 Years of Service‎
 
56%
Where are these services located?

First of all, it should be mentioned that Systemd services can be divided into two categories:

1) system services that are launched by the superuser. To manage such services, you need to use sudo.

2) user services that are run by a specific user who has full control over them without the need for sudo.

System services are located in:

1) /usr/lib/systemd/system;
2) /lib/systemd/system;
3) /etc/systemd/system;

Custom services are located in:

1) /usr/lib/systemd/user;
2) /lib/systemd/user;
3) /etc/systemd/user;
4) /home/user/.config/systemd/user;

Service files supplied with packages are typically located in the lib and /usr/lib directories, while /etc/ contains modified units that override the standard settings.
 
Back
Top