All Questions
6
questions
1
vote
1
answer
242
views
CentOS systemd places service subprocesses started with `sudo` in `user.slice` (instead of `system.slice`)
Subprocesses that are created using sudo within a systemd service are placed in the user.slice. This behavior has been observed only on CentOS 8 (x86_64 20230606) and not on Ubuntu 20.04.5 LTS, where ...
0
votes
1
answer
293
views
Find if "consistent network device naming" is available
I have a piece of custom software that needs to know the name of a certain network interface on multiple systems (two of them to be more exactly) on which I cannot change anything like disabling the "...
14
votes
1
answer
31k
views
Common location for systemd unit files on Ubuntu and RHEL
I would like to create a scripted install for a list of Systemd services. This installation should support both Ubuntu (starting with version 16.04) and RHEL/CentOS (starting with version 7.2)
I read ...
1
vote
1
answer
370
views
Convert Systemd (systemctl) file from CentOs to Ubuntu
I have airflow installed on Ubuntu 16.04. I have file as follows:
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License....
7
votes
4
answers
27k
views
What is "systemd" in CentOS 7
Can anyone tell me what is systemd and why CentOS 7 has systemd but CentOS 6 doesn't have it?
Related question : Which ubuntu versions have systemd?
122
votes
3
answers
102k
views
What's the difference between /usr/lib/systemd/system and /etc/systemd/system?
Before all the unit files were in /etc/systemd/system/ but now some are showing up in /usr/lib/systemd/system (<- on CentOS, or /lib/systemd/system <- on Debian/Ubuntu), what is the difference ...