Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
deb-icingaweb2-module-x509
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
packaging
deb-icingaweb2-module-x509
Commits
870356b7
Commit
870356b7
authored
Aug 30, 2019
by
Markus Frosch
📣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add systemd service
parent
b3184967
Pipeline
#5156
passed with stages
in 8 minutes and 34 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
2 deletions
+21
-2
debian/control
debian/control
+3
-1
debian/icinga-x509.service
debian/icinga-x509.service
+11
-0
debian/rules
debian/rules
+7
-1
No files found.
debian/control
View file @
870356b7
...
...
@@ -2,7 +2,9 @@ Source: icingaweb2-module-x509
Section: admin
Priority: optional
Maintainer: Icinga Development Team <info@icinga.com>
Build-Depends: debhelper (>= 9)
Build-Depends:
debhelper (>= 9),
dh-systemd
Standards-Version: 3.9.8
Homepage: https://www.icinga.com
...
...
debian/icinga-x509.service
0 → 100644
View file @
870356b7
[Unit]
Description
=
Icinga Certificate Monitoring Module Jobs Runner
[Service]
Type
=
simple
User
=
www-data
ExecStart
=
/usr/bin/icingacli x509 jobs run
Restart
=
on-success
[Install]
WantedBy
=
multi-user.target
debian/rules
View file @
870356b7
...
...
@@ -5,11 +5,17 @@ MODULE_NAME := x509
MODULE_PATH := /usr/share/icingaweb2/modules/$(MODULE_NAME)
%:
dh $@
dh $@
--with systemd
override_dh_auto_install:
mkdir debian/tmp
mkdir -p debian/tmp$(MODULE_PATH)
find -maxdepth 1 ! -name debian ! -name ".*" -exec cp -rvt debian/tmp$(MODULE_PATH) {} \;
override_dh_systemd_enable:
dh_systemd_enable --no-enable --name=icinga-$(MODULE_NAME)
override_dh_systemd_start:
dh_systemd_start --no-start --name=icinga-$(MODULE_NAME)
# vi: ts=4 sw=4 noexpandtab :
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment