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

Restart option added to sysvinit script #89

Merged
merged 4 commits into from
Nov 26, 2013
Merged

Conversation

kardapoltsev
Copy link
Member

No description provided.


. /lib/init/vars.sh
. /lib/lsb/init-functions
test -e /etc/default/${{app_name}} && source /etc/default/${{app_name}}
Copy link
Member

Choose a reason for hiding this comment

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

So user configuration is under /etc/default/ for the runner of the script?

Copy link
Member Author

Choose a reason for hiding this comment

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

It could be overwritten in /etc/defaults

Regards, Alexey
On Nov 26, 2013 6:50 PM, "Josh Suereth" notifications@github.com wrote:

In
src/main/resources/com/typesafe/sbt/packager/archetypes/sysvinit-template:

Default-Stop:

Short-Description: ${{descr}}

END INIT INFO

-PIDFILE=/var/run/${{app_name}}.pid

-DAEMON_USER=${{daemon_user}}

-. /lib/init/vars.sh
-. /lib/lsb/init-functions
+test -e /etc/default/${{app_name}} && source /etc/default/${{app_name}}

So user configuration is under /etc/default/ for the runner of the
script?


Reply to this email directly or view it on GitHubhttps://github.com//pull/89/files#r7923081
.

@jsuereth
Copy link
Member

LGTM. Thanks again for the fix!

jsuereth added a commit that referenced this pull request Nov 26, 2013
Restart option added to sysvinit script
@jsuereth jsuereth merged commit 7db7904 into sbt:master Nov 26, 2013
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.

None yet

2 participants