mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
Adapt systemd service to allow successful shutdown
This commit is contained in:
parent
f43acc5c60
commit
e188121733
2 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,8 @@ Environment="SIGNAL_CLI_OPTS=-Xms2m"
|
|||
ExecStart=%dir%/bin/signal-cli -u %I --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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue