ipcam changes
This commit is contained in:
parent
b8aa98899f
commit
00427d1b25
@ -3,4 +3,18 @@ Let's assume IP cameras stream h264 via rtsp.
|
||||
To `/etc/fstab`:
|
||||
```
|
||||
tmpfs /var/ipcamfs tmpfs mode=1755,uid=1000,gid=1000 0 0
|
||||
```
|
||||
|
||||
For event-based FTP storage:
|
||||
```
|
||||
apt install vsftpd
|
||||
```
|
||||
|
||||
`/etc/vsftpd.conf`:
|
||||
```
|
||||
chroot_local_user=YES
|
||||
allow_writeable_chroot=YES
|
||||
|
||||
write_enable=YES
|
||||
seccomp_sandbox=NO
|
||||
```
|
@ -6,8 +6,8 @@ After=network-online.target
|
||||
Restart=always
|
||||
User=user
|
||||
Group=user
|
||||
EnvironmentFile=/etc/ipcam-rtsp2hls.conf.d/%i.conf
|
||||
ExecStart=/home/user/homekit/tools/ipcam-rtsp2hls.sh --name %i --user $USER --password $PASSWORD --ip $IP --port $PORT $ARGS
|
||||
EnvironmentFile=/etc/ipcam_rtsp2hls.conf.d/%i.conf
|
||||
ExecStart=/home/user/homekit/tools/ipcam_rtsp2hls.sh --name %i --user $USER --password $PASSWORD --ip $IP --port $PORT $ARGS
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user