-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
Thanks for this write, i got it through to the step of creating a symbolic link here:
ubuntu$ sudo ln -s /var/myapp/init.d/myapp-httpd /etc/init.d/
my first run through i got this error:
update-rc.d: /etc/init.d/myapp-httpd: file does not exist
so i figured i should make the directory structure in the ln command so:
ubuntu$ sudo mkdir /var/myapp/init.d/myapp-httpd
then again:
ubuntu$ sudo ln -s /var/myapp/init.d/myapp-httpd /etc/init.d/
ln: creating symbolic link `/etc/init.d/myapp-httpd': File exists
but then when i run the update-rc.d command i get this:
ubuntu$ sudo update-rc.d myapp-httpd defaults
update-rc.d: /etc/init.d/myapp-httpd: file does not exist
is there a step i'm missing? should I not be creating the init.d/myapp-httpd folder?
Metadata
Metadata
Assignees
Labels
No labels