Adapt systemd service to allow successful shutdown

This commit is contained in:
AsamK 2021-05-07 17:29:29 +02:00
parent f43acc5c60
commit e188121733
2 changed files with 4 additions and 0 deletions

View file

@ -11,6 +11,8 @@ Environment="SIGNAL_CLI_OPTS=-Xms2m"
ExecStart=%dir%/bin/signal-cli --config /var/lib/signal-cli 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