Skip to content

Issues with symbolic link #8

@dtan

Description

@dtan

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions