Add example files for making a dbus activatable service

This commit is contained in:
AsamK 2015-12-16 21:34:57 +01:00
parent 27d9424f1e
commit 60981479d7
3 changed files with 31 additions and 0 deletions

11
data/textsecure.service Normal file
View file

@ -0,0 +1,11 @@
[Unit]
Description=Send secure messages to TextSecure/Signal clients
[Service]
Type=dbus
ExecStart=%dir%/bin/textsecure-cli -u %number% daemon --system
User=textsecure
BusName=org.asamk.TextSecure
[Install]
Alias=dbus-org.asamk.TextSecure.service