Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-init
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-init
Commits
b2a130ec
Commit
b2a130ec
authored
Aug 01, 2023
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added imgsrv parameters: '-s /dev/sda2' for fast sending raw ssd data over the network
parent
4e88d416
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
init_elphel393.py
src/init_elphel393.py
+2
-1
No files found.
src/init_elphel393.py
View file @
b2a130ec
...
...
@@ -155,7 +155,8 @@ def init_imgsrv(port):
Start Image Server (imgsrv), restart lighttpd (for imgsrv?) and initialize exif header template
@port - int or str
'''
shout
(
"imgsrv -p "
+
str
(
port
))
# shout("imgsrv -p "+str(port))
shout
(
"imgsrv -p "
+
str
(
port
)
+
" -s /dev/sda2"
)
# TODO: add calculation of the /dev/sda2?
#restart PHP - it can get errors while opening/mmaping at startup, then some functions fail
shout
(
"killall lighttpd; /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf"
)
shout
(
"/www/pages/exif.php init=/etc/Exif_template.xml"
)
...
...
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