1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mautrix_signal_ynh.git synced 2024-09-03 19:46:07 +02:00
mautrix_signal_ynh/conf/signald.service
Gredin67 401c40db4f
upgrade to 0.2.0 and solve permissions issue
* Update checksum and upstream URL (#11)

Upstream URL changed, this is mentioned in this week's edition of TWIM:
https://matrix.org/blog/2021/08/06/this-week-in-matrix-2021-08-06#mautrix-

* Fix upgrade script (#14)

The destination directory for upgrade source was wrong, so upgrading would reinstall the previous version.

* add default-jre-headless

* upgrade pip

* Update config.yaml

* Add mautrix_signal to the signald group, set permissions

Unfortunately signald creates folders with the wrong permissions, so
there is still an issue with sticker subfolders.

Co-authored-by: Mayeul Cantan <mayeul.cantan@gmail.com>
2021-08-19 17:41:14 +02:00

21 lines
551 B
Desktop File

[Unit]
Description=A daemon for interacting with the Signal Private Messenger
Wants=network.target
After=network.target
[Service]
Type=simple
RuntimeDirectory=signald
RuntimeDirectoryMode=0770
User=__SIGNALD_USER__
Group=__SIGNALD_USER__
#ExecStart=/usr/bin/signald -d /var/lib/signald
ExecStart=__SIGNALD_PATH__/build/install/signald/bin/signald -d /var/lib/signald
EnvironmentFile=-/etc/default/signald
Restart=on-failure
UMask=0007
# JVM always exits with 143 in reaction to SIGTERM signal
SuccessExitStatus=143
[Install]
WantedBy=default.target