From 13aafc6712943d553d0ef5971940cf1914ad1383 Mon Sep 17 00:00:00 2001 From: AsamK Date: Thu, 31 Dec 2015 15:17:34 +0100 Subject: [PATCH] Add systemd service file with instance variable --- data/textsecure-cli@.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 data/textsecure-cli@.service diff --git a/data/textsecure-cli@.service b/data/textsecure-cli@.service new file mode 100644 index 00000000..b8221bc2 --- /dev/null +++ b/data/textsecure-cli@.service @@ -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