Browse Source

added systemd service

master
Lars Hoogestraat 7 months ago
parent
commit
2b7cd98f62
2 changed files with 11 additions and 0 deletions
  1. +10
    -0
      ffmpeg_nistkasten.service
  2. +1
    -0
      ffmpeg_nistkasten.sh

+ 10
- 0
ffmpeg_nistkasten.service View File

@ -0,0 +1,10 @@
[Unit]
After=networking.service
[Service]
Type=simple
Restart=always
ExecStart=/opt/nistkasten/ffmpeg_nistkasten.sh
[Install]
WantedBy=default.target

+ 1
- 0
ffmpeg_nistkasten.sh View File

@ -1,4 +1,5 @@
#!/bin/bash
OMX_PARAMS="-s 1280x720 -preset fast -b:v 1024k"
/usr/bin/ffmpeg \


Loading…
Cancel
Save