Skip to main content
deleted 7 characters in body
Source Link
Siva
  • 9.3k
  • 9
  • 60
  • 88

With reference to this, we might need to run the following after configuring systemctl.

 sudo systemctl daemon-reload 

And we should have a header in the script like below.

### BEGIN INIT INFO # Provides: scriptname # Required-Start: # Required-Stop: # Default-Start: 2 30 41 56 # Default-Stop:  0 1 6 # Short-Description: Start daemon at boot time # Description: Enable service provided by daemon. ### END INIT INFO 

With reference to this, we might need to run the following after configuring systemctl.

 sudo systemctl daemon-reload 

And we should have a header in the script like below.

### BEGIN INIT INFO # Provides: scriptname # Required-Start: # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop:  0 1 6 # Short-Description: Start daemon at boot time # Description: Enable service provided by daemon. ### END INIT INFO 

With reference to this, we might need to run the following after configuring systemctl.

 sudo systemctl daemon-reload 

And we should have a header in the script like below.

### BEGIN INIT INFO # Provides: scriptname # Required-Start: # Required-Stop: # Default-Start: 0 1 6 # Default-Stop: # Short-Description: Start daemon at boot time # Description: Enable service provided by daemon. ### END INIT INFO 
added 431 characters in body
Source Link
Siva
  • 9.3k
  • 9
  • 60
  • 88

With reference to this, we might need to run the following after configuring systemctl.

 sudo systemctl daemon-reload 

And we should have a header in the script like below.

### BEGIN INIT INFO # Provides: scriptname # Required-Start: # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start daemon at boot time # Description: Enable service provided by daemon. ### END INIT INFO 

With reference to this, we might need to run the following after configuring systemctl.

 sudo systemctl daemon-reload 

With reference to this, we might need to run the following after configuring systemctl.

 sudo systemctl daemon-reload 

And we should have a header in the script like below.

### BEGIN INIT INFO # Provides: scriptname # Required-Start: # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start daemon at boot time # Description: Enable service provided by daemon. ### END INIT INFO 
Source Link
Siva
  • 9.3k
  • 9
  • 60
  • 88

With reference to this, we might need to run the following after configuring systemctl.

 sudo systemctl daemon-reload