systemd unit file from upstream

This commit is contained in:
Pratyush Desai 2021-11-01 20:53:54 +05:30
parent fbfad910f0
commit 05c7b82384
Signed by: pratyush
GPG Key ID: DBA5BB7505946FAD
2 changed files with 16 additions and 1 deletions

View File

@ -3,7 +3,7 @@
pkgname=matrix2051-git
pkgrel=1
pkgdesc='A Matrix gateway for IRC: connect to Matrix from your favorite IRC client.'
pkgver=rf4607ee
pkgver=0.1.0.rf4607ee
arch=('x86_64')
url='https://github.com/progval/matrix2051'
provides=('matrix2051=$pkgver')

View File

@ -0,0 +1,15 @@
[Unit]
Description=Matrix2051, a Matrix gateway for IRC
After=network.target
[Service]
Type=simple
ExecStart=/opt/matrix2051/_build/prod/rel/matrix2051/bin/matrix2051 start
Restart=always
SyslogIdentifier=Matrix2051
Environment=HOME=/tmp/
DynamicUser=true
[Install]
WantedBy=multi-user.target