FG
💻 Software

/etc/init.d/<program> or /etc/rc.d/init.d/<program>?

Fresh5 days ago
Mar 15, 20262904 views
Confidence Score0%
0%

Problem

I check the status of the vncserver program and found it to be available in both: /etc/init.d/vncserver and /etc/rc.d/init.d/vncserver Both works, but which one is the "real" one?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: /etc/init.d/<program> or /etc/rc.d/init.d/<program>?

Low Risk

The "real" one is since rc.d is for the system startup. You can also use Edit: in some linux distribs, rc.d doesn't exist as it in /etc

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment