summarylogtreecommitdiffstats
path: root/moonshine.service
diff options
context:
space:
mode:
Diffstat (limited to 'moonshine.service')
-rw-r--r--moonshine.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/moonshine.service b/moonshine.service
new file mode 100644
index 000000000000..c9f681b0a9ac
--- /dev/null
+++ b/moonshine.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Streaming server using the NVIDIA GameStream / Moonlight protocol.
+After=network-online.target
+Wants=network-online.target
+
+[Service]
+Environment=RUST_LOG=moonshine=info
+ExecStart=/usr/bin/moonshine /etc/moonshine/config.toml
+WorkingDirectory=/etc/moonshine
+
+[Install]
+WantedBy=graphical.target