Skip to content
Snippets Groups Projects
Commit 9a6ab211 authored by godog's avatar godog
Browse files

debian: add systemd service files

parent eab6204a
No related branches found
No related tags found
No related merge requests found
Pipeline #
[Unit]
Description=localauditd
[Service]
ExecStart=/usr/sbin/auditd $DAEMON_ARGS
Restart=on-failure
User=ai-auditd
RuntimeDirectory=audit
[Install]
WantedBy=multi-user.target
...@@ -2,7 +2,7 @@ Source: audit ...@@ -2,7 +2,7 @@ Source: audit
Section: net Section: net
Priority: extra Priority: extra
Maintainer: ale <ale@incal.net> Maintainer: ale <ale@incal.net>
Build-Depends: debhelper (>= 8.0.0), git, rsync, wget Build-Depends: debhelper (>= 8.0.0), git, rsync, wget, dh-systemd
Standards-Version: 3.9.4 Standards-Version: 3.9.4
Homepage: https://git.autistici.org/ai/audit Homepage: https://git.autistici.org/ai/audit
......
[Unit]
Description=localauditd
[Service]
ExecStart=/usr/sbin/localauditd $DAEMON_ARGS
Restart=on-failure
User=localaudit
Group=audit
RuntimeDirectory=audit
[Install]
WantedBy=multi-user.target
...@@ -15,7 +15,7 @@ BUILDDIR = $(CURDIR)/debian/build ...@@ -15,7 +15,7 @@ BUILDDIR = $(CURDIR)/debian/build
GOROOT = $(CURDIR)/debian/build-go GOROOT = $(CURDIR)/debian/build-go
%: %:
dh $@ dh --with=systemd $@
override_dh_install: override_dh_install:
# Build the sources using a locally downloaded Go version. # Build the sources using a locally downloaded Go version.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment