aboutsummaryrefslogtreecommitdiff
path: root/extra/gpu-screen-recorder.service
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-10-15 21:03:21 +0200
committerdec05eba <dec05eba@protonmail.com>2023-10-15 21:03:21 +0200
commitee5d1d7a279dd2fa54babc4d67350352940b4391 (patch)
treeb9e73e137453cc4f74db1922a3f20b106611e726 /extra/gpu-screen-recorder.service
parentbae4504370f335d64697a8d114174134b44d5f98 (diff)
-mk > -mf in systemd service file
Diffstat (limited to 'extra/gpu-screen-recorder.service')
-rw-r--r--extra/gpu-screen-recorder.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/gpu-screen-recorder.service b/extra/gpu-screen-recorder.service
index 7f1cbb1..61009be 100644
--- a/extra/gpu-screen-recorder.service
+++ b/extra/gpu-screen-recorder.service
@@ -13,7 +13,7 @@ Environment=FRAMERATE=60
Environment=REPLAYDURATION=60
Environment=OUTPUTDIR=%h/Videos
Environment=MAKEFOLDERS=no
-ExecStart=/bin/sh -c 'AUDIO="${AUDIO_DEVICE:-$(pactl get-default-sink).monitor}"; gpu-screen-recorder -v no -w $WINDOW -c $CONTAINER -q $QUALITY -k $CODEC -ac $AUDIO_CODEC -a "$AUDIO" -f $FRAMERATE -r $REPLAYDURATION -o "$OUTPUTDIR" -mk $MAKEFOLDERS $ADDITIONAL_ARGS'
+ExecStart=/bin/sh -c 'AUDIO="${AUDIO_DEVICE:-$(pactl get-default-sink).monitor}"; gpu-screen-recorder -v no -w $WINDOW -c $CONTAINER -q $QUALITY -k $CODEC -ac $AUDIO_CODEC -a "$AUDIO" -f $FRAMERATE -r $REPLAYDURATION -o "$OUTPUTDIR" -mf $MAKEFOLDERS $ADDITIONAL_ARGS'
KillSignal=SIGINT
Restart=on-failure
RestartSec=5s