19 lines
487 B
Desktop File
19 lines
487 B
Desktop File
[Unit]
|
|
Description=Send secure messages to Signal clients
|
|
Requires=dbus.socket
|
|
After=dbus.socket
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=dbus
|
|
Environment="SIGNAL_CLI_OPTS=-Xms2m"
|
|
ExecStart=signal-cli --config /var/lib/signal-cli --trust-new-identities=always -u %number% daemon --system
|
|
User=signal-cli
|
|
BusName=org.asamk.Signal
|
|
# JVM always exits with 143 in reaction to SIGTERM signal
|
|
SuccessExitStatus=143
|
|
|
|
[Install]
|
|
Alias=dbus-org.asamk.Signal.service
|