Ask Your Question

Register sdc service to system startup in Ubuntu

asked 2017-11-30 23:47:23 -0500

davidha gravatar image

Hello, I would like to register "sdc" service to system start. The final goal is to be able to do "sudo service sdc start/stop/status" and the "sdc" service starts along with the system after reboot. I have followed this document: and be able to achieve my goal. However, instead of using user name "sdc" to register the service, I would like to use another user for instance "usera" to register the service. However, it is a bit confuse that what "sdc" refers to in the document, the service named "sdc" or the user named "sdc". As a result, I tried to alter all the "chmod" commands to "chmod usera:usera" instead of "chmod sdc:sdc". However, when I tried to do "sudo service start sdc", "Unknown yser sdc" is prompted. Any ideas about which steps to change in order to change the user to "usera" and leave the service name as "sdc"? Thanks in advance.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-12-04 15:50:02 -0500

updated 2017-12-04 15:55:26 -0500

The chmod changes are correct. You also need to edit /path/to/your/install/libexec/ and change export SDC_USER=sdc to export SDC_USER=usera. (You might also want to change SDC_GROUP.)

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-11-30 23:47:23 -0500

Seen: 505 times

Last updated: Dec 04 '17