Skip to content
This repository was archived by the owner on Nov 14, 2019. It is now read-only.
Open
Show file tree
Hide file tree
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
add systemd service and include sample config file.
  • Loading branch information
KlavsKlavsen committed Nov 24, 2017
commit 973ab30249601cb79ede51497814247ef467ff8a
13 changes: 13 additions & 0 deletions debian/brubeck.brubeck.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Unit]
Description=Brubeck Statsd Daemon

[Service]
Type=simple
SyslogIdentifier=brubeck
User=nobody
Restart=on-failure
ExecStart=/usr/bin/brubeck --log /var/log/brubeck/brubeck.log --config /etc/brubeck/config.json

[Install]
WantedBy=multi-user.target

1 change: 1 addition & 0 deletions debian/install
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
brubeck usr/bin
config.default.json.example etc/brubeck
4 changes: 3 additions & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@

%:
./script/bootstrap
dh $@
dh $@ --with systemd

#override_dh_installinit:
# dh_installinit --name=brubeck -- defaults

# dh_make generated override targets
# This is example for Cmake (See https://bugs.debian.org/641051 )
Expand Down