Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
M
miredo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rindeal's Namespace
Abandonware
miredo
Commits
7c651180
Commit
7c651180
authored
Jun 29, 2018
by
Jan Chren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
autotools: systemdsystemunitdir
parent
b9a86a34
Pipeline
#24863533
passed with stages
in 3 minutes and 54 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
configure.ac
configure.ac
+10
-0
misc/Makefile.am
misc/Makefile.am
+4
-3
No files found.
configure.ac
View file @
7c651180
...
...
@@ -194,6 +194,16 @@ AS_IF([test "x${LIBJUDY}" = "x"], [
])
AC_SUBST(LIBJUDY)
# systemd
AC_ARG_WITH([systemdsystemunitdir],
AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
[],
[with_systemdsystemunitdir=$(pkg-config --variable=systemdsystemunitdir systemd)])
if test "x$with_systemdsystemunitdir" != "xno"; then
AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
fi
AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$systemdsystemunitdir"])
# Test coverage build
AC_MSG_CHECKING([whether to build for test coverage])
...
...
misc/Makefile.am
View file @
7c651180
...
...
@@ -17,8 +17,6 @@
# * http://www.gnu.org/copyleft/gpl.html *
# ***********************************************************************
systemddir
=
$(libdir)
/systemd/system
MOSTLYCLEANFILES
+=
$(examples_DATA)
$(conf_SCRIPTS)
$(systemd_DATA)
cat_verbose
=
$
(
cat_verbose_
$(V)
)
...
...
@@ -44,7 +42,10 @@ client-hook: misc/client-hook.$(hook_suffix)
# systemd service
dist_noinst_DATA
+=
misc/miredo.service-in misc/miredo-server.service-in
systemd_DATA
=
misc/miredo.service misc/miredo-server.service
if
HAVE_SYSTEMD
systemdservicedir
=
$(systemdsystemunitdir)
systemdservice_DATA
=
misc/miredo.service misc/miredo-server.service
endif
.service-in.service
:
$(AM_V_at)$(mkdir_p)
misc
...
...
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