Locating the directory for systemd scripts
Tried to add a startup script for cent os, but can't find upstart script directory (which typically is in /etc/init on my ubuntu system]
I heard it's in "/usr/lib/systemd" but it's not on my system:
[root@ lib]# more /etc/issue
CentOS release 5.4 (Final)
Kernel r on an m
[root@ lib]# ls /usr/lib/systemd
ls: /usr/lib/systemd: No such file or directory
Any ideas?
centos systemd
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Tried to add a startup script for cent os, but can't find upstart script directory (which typically is in /etc/init on my ubuntu system]
I heard it's in "/usr/lib/systemd" but it's not on my system:
[root@ lib]# more /etc/issue
CentOS release 5.4 (Final)
Kernel r on an m
[root@ lib]# ls /usr/lib/systemd
ls: /usr/lib/systemd: No such file or directory
Any ideas?
centos systemd
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
1
You confuse upstart and systemd. These are two distinct and unrelated (and competing, FWIW) init systems.
– intelfx
Jul 9 '15 at 21:40
add a comment |
Tried to add a startup script for cent os, but can't find upstart script directory (which typically is in /etc/init on my ubuntu system]
I heard it's in "/usr/lib/systemd" but it's not on my system:
[root@ lib]# more /etc/issue
CentOS release 5.4 (Final)
Kernel r on an m
[root@ lib]# ls /usr/lib/systemd
ls: /usr/lib/systemd: No such file or directory
Any ideas?
centos systemd
Tried to add a startup script for cent os, but can't find upstart script directory (which typically is in /etc/init on my ubuntu system]
I heard it's in "/usr/lib/systemd" but it's not on my system:
[root@ lib]# more /etc/issue
CentOS release 5.4 (Final)
Kernel r on an m
[root@ lib]# ls /usr/lib/systemd
ls: /usr/lib/systemd: No such file or directory
Any ideas?
centos systemd
centos systemd
edited Nov 16 '18 at 19:33
Rui F Ribeiro
40.6k1479137
40.6k1479137
asked Jul 9 '15 at 21:13
packetiepacketie
1013
1013
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
1
You confuse upstart and systemd. These are two distinct and unrelated (and competing, FWIW) init systems.
– intelfx
Jul 9 '15 at 21:40
add a comment |
1
You confuse upstart and systemd. These are two distinct and unrelated (and competing, FWIW) init systems.
– intelfx
Jul 9 '15 at 21:40
1
1
You confuse upstart and systemd. These are two distinct and unrelated (and competing, FWIW) init systems.
– intelfx
Jul 9 '15 at 21:40
You confuse upstart and systemd. These are two distinct and unrelated (and competing, FWIW) init systems.
– intelfx
Jul 9 '15 at 21:40
add a comment |
1 Answer
1
active
oldest
votes
RHEL
5 does not have systemd. Redhat Enterprise 5 and CentOS 5 use
sysvinit, version 6 uses
upstart, and version 7 uses
systemd`.
Thanks for the quick answer @uwe-burger. Wonder where is the directory for start up script. On my ubuntu system, it was in /etc/init.
– packetie
Jul 9 '15 at 21:25
Sorry, i have not used redhat 5 system, i thought it would be etc/init, i only know about redhat enterprise switching from upstart to systemd because of the systemd debate. Google redhat enterprise 5 and upstart you should find documentation.
– Uwe Burger
Jul 9 '15 at 21:29
Thanks @uwe-burger for the info about difference between ver 5 and 6!
– packetie
Jul 9 '15 at 21:47
1
From my understanding RHEL/CentOS 5 uses sysvinit, 6 uses upstart, 7 uses systemd.
– yaegashi
Jul 9 '15 at 23:56
Yes sorry i confused it. 5 sysvinit, 6 upstart and 7 is systemd.
– Uwe Burger
Jul 10 '15 at 10:18
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f214967%2flocating-the-directory-for-systemd-scripts%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
RHEL
5 does not have systemd. Redhat Enterprise 5 and CentOS 5 use
sysvinit, version 6 uses
upstart, and version 7 uses
systemd`.
Thanks for the quick answer @uwe-burger. Wonder where is the directory for start up script. On my ubuntu system, it was in /etc/init.
– packetie
Jul 9 '15 at 21:25
Sorry, i have not used redhat 5 system, i thought it would be etc/init, i only know about redhat enterprise switching from upstart to systemd because of the systemd debate. Google redhat enterprise 5 and upstart you should find documentation.
– Uwe Burger
Jul 9 '15 at 21:29
Thanks @uwe-burger for the info about difference between ver 5 and 6!
– packetie
Jul 9 '15 at 21:47
1
From my understanding RHEL/CentOS 5 uses sysvinit, 6 uses upstart, 7 uses systemd.
– yaegashi
Jul 9 '15 at 23:56
Yes sorry i confused it. 5 sysvinit, 6 upstart and 7 is systemd.
– Uwe Burger
Jul 10 '15 at 10:18
add a comment |
RHEL
5 does not have systemd. Redhat Enterprise 5 and CentOS 5 use
sysvinit, version 6 uses
upstart, and version 7 uses
systemd`.
Thanks for the quick answer @uwe-burger. Wonder where is the directory for start up script. On my ubuntu system, it was in /etc/init.
– packetie
Jul 9 '15 at 21:25
Sorry, i have not used redhat 5 system, i thought it would be etc/init, i only know about redhat enterprise switching from upstart to systemd because of the systemd debate. Google redhat enterprise 5 and upstart you should find documentation.
– Uwe Burger
Jul 9 '15 at 21:29
Thanks @uwe-burger for the info about difference between ver 5 and 6!
– packetie
Jul 9 '15 at 21:47
1
From my understanding RHEL/CentOS 5 uses sysvinit, 6 uses upstart, 7 uses systemd.
– yaegashi
Jul 9 '15 at 23:56
Yes sorry i confused it. 5 sysvinit, 6 upstart and 7 is systemd.
– Uwe Burger
Jul 10 '15 at 10:18
add a comment |
RHEL
5 does not have systemd. Redhat Enterprise 5 and CentOS 5 use
sysvinit, version 6 uses
upstart, and version 7 uses
systemd`.
RHEL
5 does not have systemd. Redhat Enterprise 5 and CentOS 5 use
sysvinit, version 6 uses
upstart, and version 7 uses
systemd`.
edited Jul 10 '15 at 0:55
jordanm
30.9k38695
30.9k38695
answered Jul 9 '15 at 21:17
Uwe BurgerUwe Burger
1511
1511
Thanks for the quick answer @uwe-burger. Wonder where is the directory for start up script. On my ubuntu system, it was in /etc/init.
– packetie
Jul 9 '15 at 21:25
Sorry, i have not used redhat 5 system, i thought it would be etc/init, i only know about redhat enterprise switching from upstart to systemd because of the systemd debate. Google redhat enterprise 5 and upstart you should find documentation.
– Uwe Burger
Jul 9 '15 at 21:29
Thanks @uwe-burger for the info about difference between ver 5 and 6!
– packetie
Jul 9 '15 at 21:47
1
From my understanding RHEL/CentOS 5 uses sysvinit, 6 uses upstart, 7 uses systemd.
– yaegashi
Jul 9 '15 at 23:56
Yes sorry i confused it. 5 sysvinit, 6 upstart and 7 is systemd.
– Uwe Burger
Jul 10 '15 at 10:18
add a comment |
Thanks for the quick answer @uwe-burger. Wonder where is the directory for start up script. On my ubuntu system, it was in /etc/init.
– packetie
Jul 9 '15 at 21:25
Sorry, i have not used redhat 5 system, i thought it would be etc/init, i only know about redhat enterprise switching from upstart to systemd because of the systemd debate. Google redhat enterprise 5 and upstart you should find documentation.
– Uwe Burger
Jul 9 '15 at 21:29
Thanks @uwe-burger for the info about difference between ver 5 and 6!
– packetie
Jul 9 '15 at 21:47
1
From my understanding RHEL/CentOS 5 uses sysvinit, 6 uses upstart, 7 uses systemd.
– yaegashi
Jul 9 '15 at 23:56
Yes sorry i confused it. 5 sysvinit, 6 upstart and 7 is systemd.
– Uwe Burger
Jul 10 '15 at 10:18
Thanks for the quick answer @uwe-burger. Wonder where is the directory for start up script. On my ubuntu system, it was in /etc/init.
– packetie
Jul 9 '15 at 21:25
Thanks for the quick answer @uwe-burger. Wonder where is the directory for start up script. On my ubuntu system, it was in /etc/init.
– packetie
Jul 9 '15 at 21:25
Sorry, i have not used redhat 5 system, i thought it would be etc/init, i only know about redhat enterprise switching from upstart to systemd because of the systemd debate. Google redhat enterprise 5 and upstart you should find documentation.
– Uwe Burger
Jul 9 '15 at 21:29
Sorry, i have not used redhat 5 system, i thought it would be etc/init, i only know about redhat enterprise switching from upstart to systemd because of the systemd debate. Google redhat enterprise 5 and upstart you should find documentation.
– Uwe Burger
Jul 9 '15 at 21:29
Thanks @uwe-burger for the info about difference between ver 5 and 6!
– packetie
Jul 9 '15 at 21:47
Thanks @uwe-burger for the info about difference between ver 5 and 6!
– packetie
Jul 9 '15 at 21:47
1
1
From my understanding RHEL/CentOS 5 uses sysvinit, 6 uses upstart, 7 uses systemd.
– yaegashi
Jul 9 '15 at 23:56
From my understanding RHEL/CentOS 5 uses sysvinit, 6 uses upstart, 7 uses systemd.
– yaegashi
Jul 9 '15 at 23:56
Yes sorry i confused it. 5 sysvinit, 6 upstart and 7 is systemd.
– Uwe Burger
Jul 10 '15 at 10:18
Yes sorry i confused it. 5 sysvinit, 6 upstart and 7 is systemd.
– Uwe Burger
Jul 10 '15 at 10:18
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f214967%2flocating-the-directory-for-systemd-scripts%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
You confuse upstart and systemd. These are two distinct and unrelated (and competing, FWIW) init systems.
– intelfx
Jul 9 '15 at 21:40