mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +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 --config /var/lib/signal-cli daemon --system
|
ExecStart=%dir%/bin/signal-cli --config /var/lib/signal-cli daemon --system
|
||||||
User=signal-cli
|
User=signal-cli
|
||||||
BusName=org.asamk.Signal
|
BusName=org.asamk.Signal
|
||||||
|
# JVM always exits with 143 in reaction to SIGTERM signal
|
||||||
|
SuccessExitStatus=143
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Alias=dbus-org.asamk.Signal.service
|
Alias=dbus-org.asamk.Signal.service
|
||||||
|
|
|
@ -11,6 +11,8 @@ Environment="SIGNAL_CLI_OPTS=-Xms2m"
|
||||||
ExecStart=%dir%/bin/signal-cli -u %I --config /var/lib/signal-cli daemon --system
|
ExecStart=%dir%/bin/signal-cli -u %I --config /var/lib/signal-cli daemon --system
|
||||||
User=signal-cli
|
User=signal-cli
|
||||||
BusName=org.asamk.Signal
|
BusName=org.asamk.Signal
|
||||||
|
# JVM always exits with 143 in reaction to SIGTERM signal
|
||||||
|
SuccessExitStatus=143
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Alias=dbus-org.asamk.Signal.service
|
Alias=dbus-org.asamk.Signal.service
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue