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

Script for creating Debian package #32

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(dpkg): support custom server flags
  • Loading branch information
JensRantil committed Jun 3, 2014
commit 14c8e45fd89fd82c11d5fd44c7b6dd098200a261
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
statsdaemon
/statsdaemon
3 changes: 3 additions & 0 deletions deb/etc/default/statsdaemon
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Additional settings for statsdaemon

STATSDAEMON_OPTS=
9 changes: 8 additions & 1 deletion deb/etc/init/statsdaemon.conf
Original file line number Diff line number Diff line change
@@ -8,4 +8,11 @@ respawn
respawn limit 360 180
setuid statsdaemon
setuid statsdaemon
Copy link
Contributor

Choose a reason for hiding this comment

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

same line twice

exec /usr/local/bin/statsdaemon

script
STATSDAEMON_OPTS=
if [ -e /etc/default/statsdaemon ];then
. /etc/default/statsdaemon
fi
exec /usr/local/bin/statsdaemon $STATSDAEMON_OPTS
end script