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

Conversation

Projects
None yet
2 participants
@igalic
Contributor

igalic commented Sep 12, 2013

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

deb-upstart: automatically symlink to upstart-job
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}")

This comment has been minimized.

@jordansissel

jordansissel Sep 12, 2013

Owner

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

jordansissel added a commit that referenced this pull request Sep 12, 2013

Merge pull request #545 from igalic/upstart-symlink
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

jls
Merge pull request jordansissel#545 from igalic/upstart-symlink
deb-upstart: automatically symlink to upstart-job

prof-milki pushed a commit to prof-milki/xpm that referenced this pull request Dec 27, 2014

Merge pull request jordansissel#545 from igalic/upstart-symlink
deb-upstart: automatically symlink to upstart-job

jordansissel added a commit that referenced this pull request Apr 24, 2015

Merge pull request #545 from igalic/upstart-symlink
deb-upstart: automatically symlink to upstart-job

jordansissel added a commit that referenced this pull request Jun 20, 2016

Merge pull request #545 from igalic/upstart-symlink
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