]> nmode's Git Repositories - signal-cli/blobdiff - data/textsecure-cli@.service
Add systemd service file with instance variable
[signal-cli] / data / textsecure-cli@.service
diff --git a/data/textsecure-cli@.service b/data/textsecure-cli@.service
new file mode 100644 (file)
index 0000000..b8221bc
--- /dev/null
@@ -0,0 +1,15 @@
+[Unit]
+Description=Send secure messages to TextSecure/Signal clients
+Requires=dbus.socket
+After=dbus.socket
+Wants=network.target
+After=network.target
+
+[Service]
+Type=dbus
+ExecStart=%dir%/bin/textsecure-cli -u %I daemon --system
+User=textsecure-cli
+BusName=org.asamk.TextSecure
+
+[Install]
+WantedBy=multi-user.target