mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-18 20:37:57 +00:00
Update 'Updated systemd unit file and added sample configuration file'
This commit is contained in:
parent
84fb108abb
commit
d58a6ccda9
@ -18,39 +18,39 @@ projects_path = /home/gns3/GNS3/projects
|
|||||||
report_errors = True
|
report_errors = True
|
||||||
|
|
||||||
; First console port of the range allocated to devices
|
; First console port of the range allocated to devices
|
||||||
console_start_port_range = 2001
|
console_start_port_range = 5000
|
||||||
; Last console port of the range allocated to devices
|
; Last console port of the range allocated to devices
|
||||||
console_end_port_range = 5000
|
console_end_port_range = 10000
|
||||||
; First port of the range allocated for inter-device communication. Two ports are allocated per link.
|
; First port of the range allocated for inter-device communication. Two ports are allocated per link.
|
||||||
udp_start_port_range = 10000
|
udp_start_port_range = 10000
|
||||||
; Last port of the range allocated for inter-device communication. Two ports are allocated per link
|
; Last port of the range allocated for inter-device communication. Two ports are allocated per link
|
||||||
udp_start_end_range = 20000
|
udp_start_end_range = 20000
|
||||||
; uBridge executable location
|
; uBridge executable location, default: search in PATH
|
||||||
ubridge_path = /Applications/GNS3.app/Contents/Resources/ubridge
|
;ubridge_path = /usr/bin/ubridge
|
||||||
|
|
||||||
; Option to enable HTTP authentication.
|
; Option to enable HTTP authentication.
|
||||||
auth = True
|
auth = False
|
||||||
; Username for HTTP authentication.
|
; Username for HTTP authentication.
|
||||||
user = gns3
|
user = gns3
|
||||||
; Password for HTTP authentication.
|
; Password for HTTP authentication.
|
||||||
password = gns3
|
password = gns3
|
||||||
|
|
||||||
[VPCS]
|
[VPCS]
|
||||||
; VPCS executable location
|
; VPCS executable location, default: search in PATH
|
||||||
vpcs_path = /usr/bin/vpcs
|
;vpcs_path = /usr/bin/vpcs
|
||||||
|
|
||||||
[Dynamips]
|
[Dynamips]
|
||||||
; Enable auxiliary console ports on IOS routers
|
; Enable auxiliary console ports on IOS routers
|
||||||
allocate_aux_console_ports = False
|
allocate_aux_console_ports = False
|
||||||
mmap_support = True
|
mmap_support = True
|
||||||
; Dynamips executable path
|
; Dynamips executable path, default: search in PATH
|
||||||
dynamips_path = /usr/bin/dynamips
|
;dynamips_path = /usr/bin/dynamips
|
||||||
sparse_memory_support = True
|
sparse_memory_support = True
|
||||||
ghost_ios_support = True
|
ghost_ios_support = True
|
||||||
|
|
||||||
[IOU]
|
[IOU]
|
||||||
; iouyap executable path
|
; iouyap executable path, default: search in PATH
|
||||||
iouyap_path = /usr/bin/iouyap
|
;iouyap_path = /usr/bin/iouyap
|
||||||
; Path of your .iourc file. If not provided, the file is searched in $HOME/.iourc
|
; Path of your .iourc file. If not provided, the file is searched in $HOME/.iourc
|
||||||
iourc_path = /home/gns3/.iourc
|
iourc_path = /home/gns3/.iourc
|
||||||
; Validate if the iourc license file is correct. If you turn this off and your licence is invalid IOU will not start and no errors will be shown.
|
; Validate if the iourc license file is correct. If you turn this off and your licence is invalid IOU will not start and no errors will be shown.
|
||||||
|
@ -6,11 +6,12 @@ Type=forking
|
|||||||
User=gns3
|
User=gns3
|
||||||
Group=gns3
|
Group=gns3
|
||||||
PermissionsStartOnly=true
|
PermissionsStartOnly=true
|
||||||
ExecStartPre=/bin/mkdir /var/run/gns3
|
ExecStartPre=/bin/mkdir -p /var/log/gns3 /var/run/gns3
|
||||||
ExecStartPre=/bin/chown -R gns3:gns3 /var/run/gns3/
|
ExecStartPre=/bin/chown -R gns3:gns3 /var/log/gns3 /var/run/gns3
|
||||||
ExecStart=/usr/share/gns3/gns3-server/bin/gns3server --log /var/log/gns3/gns3.log --pid /var/run/gns3/gns3.pid --daemon
|
ExecStart=/usr/local/bin/gns3server --log /var/log/gns3/gns3.log \
|
||||||
|
--pid /var/run/gns3/gns3.pid --daemon
|
||||||
Restart=on-abort
|
Restart=on-abort
|
||||||
PIDFile=/var/run/gns3/gns3-server.pid
|
PIDFile=/var/run/gns3/gns3.pid
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user