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

deb-upstart: automatically symlink to upstart-job #545

Merged
merged 1 commit into from
Sep 12, 2013
Merged

deb-upstart: automatically symlink to upstart-job #545

merged 1 commit into from
Sep 12, 2013

Conversation

igalic
Copy link
Contributor

@igalic igalic commented Sep 12, 2013

When --deb-upstart is given, automatically create a symlink to
/var/lib/upstart-job for each given paramter.

When --deb-upstart is given, automatically create a symlink to
/var/lib/upstart-job for each given paramter.
@@ -382,9 +382,11 @@ def output(output_path)
attributes.fetch(:deb_upstart_list, []).each do |upstart|
name = File.basename(upstart, ".upstart")
dest_upstart = File.join(staging_path, "etc/init/#{name}.conf")
dest_init = File.join(staging_path, "etc/init.d/#{name}")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fwiw, you can just do staging_path("/etc/init.d/#{name}")

jordansissel added a commit that referenced this pull request Sep 12, 2013
deb-upstart: automatically symlink to upstart-job
@jordansissel jordansissel merged commit fbf1b95 into jordansissel:master Sep 12, 2013
prof-milki pushed a commit to prof-milki/xpm that referenced this pull request Dec 18, 2014
deb-upstart: automatically symlink to upstart-job
prof-milki pushed a commit to prof-milki/xpm that referenced this pull request Dec 27, 2014
deb-upstart: automatically symlink to upstart-job
jordansissel added a commit that referenced this pull request Apr 24, 2015
deb-upstart: automatically symlink to upstart-job
jordansissel added a commit that referenced this pull request Jun 20, 2016
deb-upstart: automatically symlink to upstart-job
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

Successfully merging this pull request may close these issues.

2 participants