- the recorder service is having problems with ffmpeg stalling out
  once again. added "RuntimeMaxSec" to the service files to see
  if that helps.
This commit is contained in:
zii 2024-02-24 21:10:06 -05:00
parent 970b9b5fc5
commit 4ce8a75d9d
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
using namespace std; using namespace std;
#define APP_VER "3.3" #define APP_VER "3.4.t1"
#define APP_NAME "Motion Watch" #define APP_NAME "Motion Watch"
#define APP_BIN "mow" #define APP_BIN "mow"
#define DATETIME_FMT "yyyyMMddhhmmss" #define DATETIME_FMT "yyyyMMddhhmmss"

View File

@ -43,7 +43,7 @@ int loadService(const QString &desc, const QString &user, const QString &servNam
file.write("Type=simple\n"); file.write("Type=simple\n");
file.write("User=" + user.toUtf8() + "\n"); file.write("User=" + user.toUtf8() + "\n");
file.write("Restart=always\n"); file.write("Restart=always\n");
file.write("TimeoutStopSec=infinity\n"); file.write("RuntimeMaxSec=62\n");
file.write("ExecStart=/usr/bin/env " + servName.toUtf8() + "\n\n"); file.write("ExecStart=/usr/bin/env " + servName.toUtf8() + "\n\n");
file.write("[Install]\n"); file.write("[Install]\n");
file.write("WantedBy=multi-user.target\n"); file.write("WantedBy=multi-user.target\n");