summarylogtreecommitdiffstats
path: root/soundsync.service
diff options
context:
space:
mode:
authorzxp198210052023-11-03 19:22:14 +0800
committerzxp198210052023-11-03 19:22:14 +0800
commita46268796d52d388604a348d9017c457f19d41d1 (patch)
tree3a0c1a80d4022e42c2bc2bca3a52804e8184484a /soundsync.service
parentda6a9922fc038ee8fbce17aa20e0d896f9b6af66 (diff)
downloadaur-a46268796d52d388604a348d9017c457f19d41d1.tar.gz
fix errors
Diffstat (limited to 'soundsync.service')
-rw-r--r--soundsync.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/soundsync.service b/soundsync.service
new file mode 100644
index 000000000000..86ec6b541074
--- /dev/null
+++ b/soundsync.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=soundsync
+
+[Service]
+Type=simple
+User=root
+Group=root
+# Load env vars from /etc/default/ and /etc/sysconfig/ if they exist.
+# Prefixing the path with '-' makes it try to load, but if the file doesn't
+# exist, it continues onward.
+EnvironmentFile=-/etc/default/soundsync
+ExecStart=/usr/bin/soundsync "--configDir" "/etc/soundsync"
+Restart=always
+WorkingDirectory=/
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file