Add needrestart file
To let administrator when to drop all sessions
This commit is contained in:
parent
6be06966e3
commit
943717e48d
2 changed files with 6 additions and 0 deletions
4
Makefile
4
Makefile
|
|
@ -1,6 +1,7 @@
|
|||
DESTDIR =
|
||||
bindir = /usr/sbin
|
||||
etcdir = /etc/l2tpns
|
||||
needrestartdir = /etc/needrestart/conf.d
|
||||
libdir = /usr/lib/l2tpns
|
||||
man5dir = /usr/share/man/man5
|
||||
man8dir = /usr/share/man/man8
|
||||
|
|
@ -80,6 +81,9 @@ install: all
|
|||
$(INSTALL) -m 0644 docs/manpages/l2tpns.8 $(DESTDIR)$(man8dir)/l2tpns.8
|
||||
$(INSTALL) -m 0644 docs/manpages/nsctl.8 $(DESTDIR)$(man8dir)/nsctl.8
|
||||
|
||||
$(INSTALL) -d $(DESTDIR)$(needrestartdir)
|
||||
$(INSTALL) -m 0644 needrestart.conf $(DESTDIR)$(needrestartdir)/l2tpns.conf
|
||||
|
||||
gzip --best --force $(DESTDIR)$(man5dir)/*.5 $(DESTDIR)$(man8dir)/*.8
|
||||
|
||||
@for config in startup-config users ip_pool; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue