Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
re6stnet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
re6stnet
Commits
f3a69c98
Commit
f3a69c98
authored
Dec 26, 2014
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rotate babeld log
parent
780bfbe3
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
1 deletion
+13
-1
daemon/logrotate.conf
daemon/logrotate.conf
+9
-0
debian/control
debian/control
+1
-1
debian/rules
debian/rules
+1
-0
re6stnet.spec
re6stnet.spec
+2
-0
No files found.
daemon/logrotate.conf
0 → 100644
View file @
f3a69c98
/
var
/
log
/
re6stnet
/
babeld
.
log
{
compress
delaycompress
missingok
notifempty
postrotate
[ -
r
/
var
/
run
/
re6st
-
babeld
.
pid
] &&
kill
-
USR2
$(
cat
/
var
/
run
/
re6st
-
babeld
.
pid
)
endscript
}
debian/control
View file @
f3a69c98
...
@@ -8,6 +8,6 @@ Standards-Version: 3.9.1
...
@@ -8,6 +8,6 @@ Standards-Version: 3.9.1
Package: re6stnet
Package: re6stnet
Architecture: all
Architecture: all
Depends: ${misc:Depends}, python (>= 2.6.6-3), python (<< 2.8), python-argparse, python-openssl (>= 0.13), openvpn (>= 2.1.3), babeld (= 1.5.1-nxd2), iproute2 | iproute, openssl
Depends: ${misc:Depends}, python (>= 2.6.6-3), python (<< 2.8), python-argparse, python-openssl (>= 0.13), openvpn (>= 2.1.3), babeld (= 1.5.1-nxd2), iproute2 | iproute, openssl
Recommends: ${python:Recommends}
Recommends: ${python:Recommends}
, logrotate
Suggests: ndisc6
Suggests: ndisc6
Description: resilient, scalable, IPv6 network application
Description: resilient, scalable, IPv6 network application
debian/rules
View file @
f3a69c98
...
@@ -32,6 +32,7 @@ override_dh_install:
...
@@ -32,6 +32,7 @@ override_dh_install:
install
-d
debian/re6stnet/usr/sbin
install
-d
debian/re6stnet/usr/sbin
mv
debian/re6stnet/usr/bin/re6stnet debian/re6stnet/usr/sbin
mv
debian/re6stnet/usr/bin/re6stnet debian/re6stnet/usr/sbin
install
-Dpm
0644 daemon/README.conf debian/re6stnet/etc/re6stnet/README
install
-Dpm
0644 daemon/README.conf debian/re6stnet/etc/re6stnet/README
install
-Dpm
0644 daemon/logrotate.conf debian/re6stnet/etc/logrotate.d/re6stnet
install
-Dp
daemon/network-manager debian/re6stnet
$(NM)
install
-Dp
daemon/network-manager debian/re6stnet
$(NM)
for
a
in
up down
;
do
\
for
a
in
up down
;
do
\
set
debian/re6stnet/etc/network/if-
$$
a.d/re6stnet
;
\
set
debian/re6stnet/etc/network/if-
$$
a.d/re6stnet
;
\
...
...
re6stnet.spec
View file @
f3a69c98
...
@@ -30,6 +30,7 @@ install -Dpm 0644 docs/*.1 $1%_mandir/man1
...
@@ -30,6 +30,7 @@ install -Dpm 0644 docs/*.1 $1%_mandir/man1
install -Dpm 0644 daemon/*.service $1$2
install -Dpm 0644 daemon/*.service $1$2
install -Dp daemon/network-manager $1/etc/NetworkManager/dispatcher.d/50re6stnet
install -Dp daemon/network-manager $1/etc/NetworkManager/dispatcher.d/50re6stnet
install -Dpm 0644 daemon/README.conf $1/etc/re6stnet/README.conf
install -Dpm 0644 daemon/README.conf $1/etc/re6stnet/README.conf
install -Dpm 0644 daemon/logrotate.conf $1/etc/logrotate.d/re6stnet
mv $1%_bindir/re6stnet $1%_sbindir
mv $1%_bindir/re6stnet $1%_sbindir
find $1 -mindepth 1 -type d -name re6st\* -printf /%%P\\n > INSTALLED
find $1 -mindepth 1 -type d -name re6st\* -printf /%%P\\n > INSTALLED
...
@@ -44,6 +45,7 @@ rm INSTALLED
...
@@ -44,6 +45,7 @@ rm INSTALLED
%_mandir/*/*
%_mandir/*/*
/lib/systemd/system/*
/lib/systemd/system/*
/etc/NetworkManager/dispatcher.d/50re6stnet
/etc/NetworkManager/dispatcher.d/50re6stnet
/etc/logrotate.d/re6stnet
%post
%post
if [ $1 -eq 1 ]; then
if [ $1 -eq 1 ]; then
...
...
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