{"action":"created","issue":{"url":"https://api.github.com/repos/jordansissel/pleaserun/issues/39","labels_url":"https://api.github.com/repos/jordansissel/pleaserun/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/jordansissel/pleaserun/issues/39/comments","events_url":"https://api.github.com/repos/jordansissel/pleaserun/issues/39/events","html_url":"https://github.com/jordansissel/pleaserun/issues/39","id":31048824,"number":39,"title":"Could not find template file for 'init.d'","user":{"login":"mbezjak","id":419751,"avatar_url":"https://avatars.githubusercontent.com/u/419751?v=3","gravatar_id":"","url":"https://api.github.com/users/mbezjak","html_url":"https://github.com/mbezjak","followers_url":"https://api.github.com/users/mbezjak/followers","following_url":"https://api.github.com/users/mbezjak/following{/other_user}","gists_url":"https://api.github.com/users/mbezjak/gists{/gist_id}","starred_url":"https://api.github.com/users/mbezjak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbezjak/subscriptions","organizations_url":"https://api.github.com/users/mbezjak/orgs","repos_url":"https://api.github.com/users/mbezjak/repos","events_url":"https://api.github.com/users/mbezjak/events{/privacy}","received_events_url":"https://api.github.com/users/mbezjak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jordansissel/pleaserun/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2014-04-08T07:31:11Z","updated_at":"2015-03-06T17:43:22Z","closed_at":null,"body":"Went a little bit off script: https://github.com/jordansissel/pleaserun#generate-a-runner\r\n\r\n    $ pleaserun -p sysv /tmp/redis/bin/redis-server\r\n\r\n```\r\nNo name given, setting reasonable default {:name=>\"redis-server\", :level=>:warn}\r\n/var/lib/gems/1.9.1/gems/pleaserun-0.0.4/lib/pleaserun/platform/base.rb:127:in `render_template': Could not find template file for 'init.d'. Tried all of these: [\"/var/lib/gems/1.9.1/gems/pleaserun-0.0.4/lib/pleaserun/platform/../../../templates/sysv/default/init.d\", \"/var/lib/gems/1.9.1/gems/pleaserun-0.0.4/lib/pleaserun/platform/../../../templates/sysv/default/init.d\", \"/var/lib/gems/1.9.1/gems/pleaserun-0.0.4/lib/pleaserun/platform/../../../templates/sysv/init.d\"] (PleaseRun::Platform::Base::InvalidTemplate)\r\n        from /var/lib/gems/1.9.1/gems/pleaserun-0.0.4/lib/pleaserun/platform/sysv.rb:10:in `block in files'\r\n        from /var/lib/gems/1.9.1/gems/pleaserun-0.0.4/lib/pleaserun/cli.rb:170:in `each'\r\n        from /var/lib/gems/1.9.1/gems/pleaserun-0.0.4/lib/pleaserun/cli.rb:170:in `run_human'\r\n        from /var/lib/gems/1.9.1/gems/pleaserun-0.0.4/lib/pleaserun/cli.rb:139:in `execute'\r\n        from /var/lib/gems/1.9.1/gems/clamp-0.6.3/lib/clamp/command.rb:67:in `run'\r\n        from /var/lib/gems/1.9.1/gems/clamp-0.6.3/lib/clamp/command.rb:125:in `run'\r\n        from /var/lib/gems/1.9.1/gems/pleaserun-0.0.4/bin/pleaserun:7:in `<top (required)>'\r\n        from /usr/local/bin/pleaserun:19:in `load'\r\n        from /usr/local/bin/pleaserun:19:in `<main>'\r\n```\r\n\r\n    $ ruby -v\r\n    ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]\r\n\r\n    $ cat /etc/issue\r\n    Ubuntu 12.04.3 LTS\r\n\r\n\r\nHowever, this does work with `-v lsb-3.1`.\r\n\r\n    $ pleaserun -p sysv -v lsb-3.1 /tmp/redis/bin/redis-server\r\n\r\n```\r\nNo name given, setting reasonable default {:name=>\"redis-server\", :level=>:warn}\r\nWriting file {:destination=>\"/tmp/studtmp-5e70ae83-c7de-4a7c-8200-5c904adba6da/etc/init.d/redis-server\"}\r\nWriting file {:destination=>\"/tmp/studtmp-5e70ae83-c7de-4a7c-8200-5c904adba6da/etc/default/redis-server\"}\r\n```"},"comment":{"url":"https://api.github.com/repos/jordansissel/pleaserun/issues/comments/77601767","html_url":"https://github.com/jordansissel/pleaserun/issues/39#issuecomment-77601767","issue_url":"https://api.github.com/repos/jordansissel/pleaserun/issues/39","id":77601767,"user":{"login":"jordansissel","id":131818,"avatar_url":"https://avatars.githubusercontent.com/u/131818?v=3","gravatar_id":"","url":"https://api.github.com/users/jordansissel","html_url":"https://github.com/jordansissel","followers_url":"https://api.github.com/users/jordansissel/followers","following_url":"https://api.github.com/users/jordansissel/following{/other_user}","gists_url":"https://api.github.com/users/jordansissel/gists{/gist_id}","starred_url":"https://api.github.com/users/jordansissel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordansissel/subscriptions","organizations_url":"https://api.github.com/users/jordansissel/orgs","repos_url":"https://api.github.com/users/jordansissel/repos","events_url":"https://api.github.com/users/jordansissel/events{/privacy}","received_events_url":"https://api.github.com/users/jordansissel/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T17:43:22Z","updated_at":"2015-03-06T17:43:22Z","body":"@spuder yep! Once the next ubuntu is released, we can add a mapping in the platform detector to make newer ubuntu default to systemd."}}