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
150a17cf
Commit
150a17cf
authored
Mar 22, 2020
by
Pedro Oliveira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix exception in case log folders already exist
parent
28b51ae5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
pimdm/Daemon/Daemon.py
pimdm/Daemon/Daemon.py
+1
-1
pimdm/Run.py
pimdm/Run.py
+1
-1
setup.py
setup.py
+1
-1
No files found.
pimdm/Daemon/Daemon.py
View file @
150a17cf
...
@@ -22,7 +22,7 @@ class Daemon:
...
@@ -22,7 +22,7 @@ class Daemon:
sys
.
exit
(
1
)
sys
.
exit
(
1
)
# decouple from parent environment
# decouple from parent environment
os
.
makedirs
(
'/var/log/pimdm/'
)
os
.
makedirs
(
'/var/log/pimdm/'
,
exist_ok
=
True
)
os
.
chdir
(
'/var/log/pimdm/'
)
os
.
chdir
(
'/var/log/pimdm/'
)
os
.
setsid
()
os
.
setsid
()
os
.
umask
(
0
)
os
.
umask
(
0
)
...
...
pimdm/Run.py
View file @
150a17cf
...
@@ -9,7 +9,7 @@ import os
...
@@ -9,7 +9,7 @@ import os
import
argparse
import
argparse
import
traceback
import
traceback
VERSION
=
"1.0.4.
1
"
VERSION
=
"1.0.4.
2
"
def
client_socket
(
data_to_send
):
def
client_socket
(
data_to_send
):
# Create a UDS socket
# Create a UDS socket
...
...
setup.py
View file @
150a17cf
...
@@ -13,7 +13,7 @@ setup(
...
@@ -13,7 +13,7 @@ setup(
long_description
=
open
(
"README.md"
,
"r"
).
read
(),
long_description
=
open
(
"README.md"
,
"r"
).
read
(),
long_description_content_type
=
"text/markdown"
,
long_description_content_type
=
"text/markdown"
,
keywords
=
"PIM-DM Multicast Routing Protocol Dense-Mode Router RFC3973"
,
keywords
=
"PIM-DM Multicast Routing Protocol Dense-Mode Router RFC3973"
,
version
=
"1.0.4.
1
"
,
version
=
"1.0.4.
2
"
,
url
=
"http://github.com/pedrofran12/pim_dm"
,
url
=
"http://github.com/pedrofran12/pim_dm"
,
author
=
"Pedro Oliveira"
,
author
=
"Pedro Oliveira"
,
author_email
=
"pedro.francisco.oliveira@tecnico.ulisboa.pt"
,
author_email
=
"pedro.francisco.oliveira@tecnico.ulisboa.pt"
,
...
...
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