]> nmode's Git Repositories - signal-cli/blobdiff - data/signal-cli@.service
Rename to signal-cli
[signal-cli] / data / signal-cli@.service
diff --git a/data/signal-cli@.service b/data/signal-cli@.service
new file mode 100644 (file)
index 0000000..34409f6
--- /dev/null
@@ -0,0 +1,16 @@
+[Unit]
+Description=Send secure messages to Signal clients
+Requires=dbus.socket
+After=dbus.socket
+Wants=network.target
+After=network.target
+
+[Service]
+Type=dbus
+Environment=SIGNAL_CLI_OPTS="-Xms2m"
+ExecStart=%dir%/bin/signal-cli -u %I --config /var/lib/signal-cli daemon --system
+User=signal-cli
+BusName=org.asamk.Signal
+
+[Install]
+WantedBy=multi-user.target