summarylogtreecommitdiffstats
path: root/gstd.service
blob: ca72f2bb3972eccf74b72a957bd04f172099b05b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=GStreamer Daemon (User)
After=graphical-session.target

[Service]
Type=simple
EnvironmentFile=-/etc/conf.d/gstd
ExecStart=/usr/bin/gstd $GSTD_OPTS
Restart=on-failure
RestartSec=5s

# User service inherits XDG_RUNTIME_DIR from user session
# But we can set a fallback just in case
Environment=GST_REGISTRY=%h/.cache/gstd/registry.bin

TimeoutStopSec=10s
KillMode=mixed
KillSignal=SIGTERM

[Install]
WantedBy=default.target