Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pim_dm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
nexedi
pim_dm
Commits
6cd91ede
Commit
6cd91ede
authored
Mar 31, 2022
by
Léo-Paul Géneau
👾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add systemd file
parent
268a1d95
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
README.md
README.md
+9
-0
daemon/pim-dm.service
daemon/pim-dm.service
+10
-0
No files found.
README.md
View file @
6cd91ede
...
...
@@ -65,6 +65,15 @@ To start pim-dm process in background, one can use
```
or run it with a daemonizing tool (systemd, supervisord, OpenRC ...).
For systemd you can simply run
```
sudo systemd-run pim-dm -start
```
or copy
[
pim-dm.service
](
daemon/pim-dm.service
)
to
`/usr/lib/systemd/system/pim-dm.service`
and then start pim-dm process with command:
```
sudo systemctl start pim-dm
```
#### Multi daemon support
...
...
daemon/pim-dm.service
0 → 100644
View file @
6cd91ede
[Unit]
Description=Multicast routing daemon
#ConditionPathExists=/etc/pim-dm/conf.yaml
[Service]
#WorkingDirectory=/etc/pim-dm
#ExecStart=/usr/local/bin/pim-dm -config conf.yaml
ExecStart=/usr/local/bin/pim-dm -start
ExecStop=/usr/local/bin/pim-dm -stop
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