Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
irker
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iDB
irker
Commits
6810ce99
Commit
6810ce99
authored
12 years ago
by
Wulf C. Krueger
Committed by
Eric S. Raymond
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add a systemd unit to start irkerd
Signed-off-by:
Eric S. Raymond
<
esr@thyrsus.com
>
parent
f9ded6ca
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+9
-1
9 additions, 1 deletion
Makefile
irkerd.service
+12
-0
12 additions, 0 deletions
irkerd.service
with
21 additions
and
1 deletion
Makefile
+
9
−
1
View file @
6810ce99
# Makefile for the irker relaying daemon
VERS
=
$(
shell
sed
-n
's/version = "\(.\+\)"/\1/p'
irkerd
)
SYSTEMDSYSTEMUNITDIR
:=
$(
shell pkg-config
--variable
=
systemdsystemunitdir systemd
)
docs
:
irkerd.html irkerd.8 irkerhook.html irkerhook.1
...
...
@@ -22,6 +23,10 @@ hacking.html: hacking.txt
install
:
irkerd.8 irkerhook.1 uninstall
install
-m
755
-o
0
-g
0
-d
$(
DESTDIR
)
/usr/bin/
install
-m
755
-o
0
-g
0 irkerd
$(
DESTDIR
)
/usr/bin/irkerd
ifneq
($(strip $(SYSTEMDSYSTEMUNITDIR)),)
install
-m
755
-o
0
-g
0
-d
$(
DESTDIR
)$(
SYSTEMDSYSTEMUNITDIR
)
install
-m
644
-o
0
-g
0 irkerd.service
$(
DESTDIR
)$(
SYSTEMDSYSTEMUNITDIR
)
endif
install
-m
755
-o
0
-g
0
-d
$(
DESTDIR
)
/usr/share/man/man8/
install
-m
755
-o
0
-g
0 irkerd.8
$(
DESTDIR
)
/usr/share/man/man8/irkerd.8
install
-m
755
-o
0
-g
0
-d
$(
DESTDIR
)
/usr/share/man/man1/
...
...
@@ -29,6 +34,9 @@ install: irkerd.8 irkerhook.1 uninstall
uninstall
:
rm
-f
$(
DESTDIR
)
/usr/bin/irkerd
ifneq
($(strip $(SYSTEMDSYSTEMUNITDIR)),)
rm
-f
$(
DESTDIR
)$(
SYSTEMDSYSTEMUNITDIR
)
/irkerd.service
endif
rm
-f
$(
DESTDIR
)
/usr/share/man/man8/irkerd.8
rm
-f
$(
DESTDIR
)
/usr/share/man/man1/irkerhook.1
...
...
@@ -48,7 +56,7 @@ loc:
SOURCES
=
README COPYING NEWS install.txt security.txt hacking.txt
\
irkerd irkerhook.py filter-example.py filter-test.py irk
\
Makefile irkerd.xml irkerhook.xml
EXTRA_DIST
=
irker-logo.png org.catb.irkerd.plist
EXTRA_DIST
=
irker-logo.png org.catb.irkerd.plist
irkerd.service
version
:
@
echo
$(
VERS
)
...
...
This diff is collapsed.
Click to expand it.
irkerd.service
0 → 100644
+
12
−
0
View file @
6810ce99
# Copyright 2012 Wulf C. Krueger <philantrop@exherbo.org>
# Distributed under the terms of the BSD LICENSE
[Unit]
Description
=
irker daemon
Requires
=
network.target
[Service]
ExecStart
=
/usr/bin/irkerd
[Install]
WantedBy
=
multi-user.target
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment