Skip to content

Commit

Permalink
Changed service to run as already existing vzlogger user
Browse files Browse the repository at this point in the history
  • Loading branch information
narc-Ontakac2 committed May 27, 2023
1 parent 0671359 commit cd5c3c1
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ENDIF()

set(VZLOGGER_MAJOR_VERSION 0)
set(VZLOGGER_MINOR_VERSION 8)
set(VZLOGGER_SUB_VERSION 1)
set(VZLOGGER_SUB_VERSION 2)
set(VERSION_SEP "-")
set(VZLOGGER_SHORT_VERSION "${VZLOGGER_MAJOR_VERSION}${VERSION_SEP}${VZLOGGER_MINOR_VERSION}")
set(VZLOGGER_VERSION "${VZLOGGER_SHORT_VERSION}${VERSION_SEP}${VZLOGGER_SUB_VERSION}")
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
vzlogger (0.8.2) UNRELEASED; urgency=medium

* Fixed service running as root

-- Joachim Zobel <[email protected]> Tue, 23 May 2023 06:18:00 +0200

vzlogger (0.8.1) unstable; urgency=low

* Latest version
Expand Down
2 changes: 1 addition & 1 deletion debian/compat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
13
12
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Source: vzlogger
Section: net
Priority: optional
Maintainer: Joachim Zobel <[email protected]>
Build-Depends: debhelper (>= 13), pkg-config (>= 0.25),
Build-Depends: debhelper (>= 12), pkg-config (>= 0.25),
libjson-c-dev (>= 0.9), libcurl4-openssl-dev (>= 7.19),
libmicrohttpd-dev (>= 0.4.6), libsml-dev (>= 1.0), cmake, libsasl2-dev,
libssl-dev, libgcrypt-dev, libgnutls28-dev, uuid-dev, libunistring-dev,
Expand Down
2 changes: 2 additions & 0 deletions debian/vzlogger.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ After=network.target ntp.service

[Service]
ExecStart=/usr/bin/vzlogger -c /etc/vzlogger.conf
User=vzlogger
Group=vzlogger
ExecReload=
StandardOutput=null

Expand Down

0 comments on commit cd5c3c1

Please sign in to comment.