Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with symbolic link #8

Open
dtan opened this issue Jun 14, 2011 · 1 comment
Open

Issues with symbolic link #8

dtan opened this issue Jun 14, 2011 · 1 comment

Comments

@dtan
Copy link

dtan commented Jun 14, 2011

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?

@dtan
Copy link
Author

dtan commented Jun 14, 2011

whoops...i feel like an idiot. i made a clone of this repo only on my local, and not on my ec2. so basically i would copy these files into my own repository and use them as if they were "originally" apart of the repository and not as some submodule?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant