Signal-cli/data/signal-cli.service

19 lines
487 B
SYSTEMD
Raw Normal View History

2023-09-06 22:54:12 +00:00
[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