summaryrefslogtreecommitdiff
path: root/ergo
diff options
context:
space:
mode:
Diffstat (limited to 'ergo')
-rw-r--r--ergo/.SRCINFO8
-rw-r--r--ergo/PKGBUILD6
-rw-r--r--ergo/ergo.service11
3 files changed, 17 insertions, 8 deletions
diff --git a/ergo/.SRCINFO b/ergo/.SRCINFO
index 00aacc7..78967b4 100644
--- a/ergo/.SRCINFO
+++ b/ergo/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ergo
pkgdesc = A modern IRC server written in Go
- pkgver = 2.7.0
- pkgrel = 3
+ pkgver = 2.8.0
+ pkgrel = 1
url = https://github.com/ergochat/ergo
install = ergo.install
arch = x86_64
@@ -13,14 +13,14 @@ pkgbase = ergo
conflicts = oragono
replaces = oragono
backup = etc/ergo.conf
- source = git+https://github.com/ergochat/ergo#tag=v2.7.0
+ source = git+https://github.com/ergochat/ergo#tag=v2.8.0
source = ergo-paths.patch
source = ergo.service
source = ergo.sysusers
source = ergo.tmpfiles
sha256sums = SKIP
sha256sums = 824b6618d0377c50645ff75cf1f3ad903e217476738728bc57102fd26ca766c8
- sha256sums = 366b7b10e44e9c0bbe2ee434b1011a9dc71fceb7836502db9a9e1c4400452d12
+ sha256sums = e668371b2505832cc7f762f0f3b9f9503692f89882735b67eec05f7819cc19f7
sha256sums = 1930c0e32093b32ff7c05fe8548c20a90846acea08b62aab3194c1be7240a756
sha256sums = 1bc9acdd7fc1fb8251a0165a19d6f4383069e522827535b9c1f717de5495cb29
diff --git a/ergo/PKGBUILD b/ergo/PKGBUILD
index 642a2e4..dd9958c 100644
--- a/ergo/PKGBUILD
+++ b/ergo/PKGBUILD
@@ -3,8 +3,8 @@
# Upstream: https://git.metalpunks.info/arch-ports
pkgname=ergo
-pkgver=2.7.0
-pkgrel=3
+pkgver=2.8.0
+pkgrel=1
pkgdesc="A modern IRC server written in Go"
arch=('x86_64')
url="https://github.com/ergochat/ergo"
@@ -19,7 +19,7 @@ source=("git+$url#tag=v$pkgver"
"ergo.tmpfiles")
sha256sums=('SKIP'
'824b6618d0377c50645ff75cf1f3ad903e217476738728bc57102fd26ca766c8'
- '366b7b10e44e9c0bbe2ee434b1011a9dc71fceb7836502db9a9e1c4400452d12'
+ 'e668371b2505832cc7f762f0f3b9f9503692f89882735b67eec05f7819cc19f7'
'1930c0e32093b32ff7c05fe8548c20a90846acea08b62aab3194c1be7240a756'
'1bc9acdd7fc1fb8251a0165a19d6f4383069e522827535b9c1f717de5495cb29')
backup=('etc/ergo.conf')
diff --git a/ergo/ergo.service b/ergo/ergo.service
index 4a47d48..f53903b 100644
--- a/ergo/ergo.service
+++ b/ergo/ergo.service
@@ -1,15 +1,24 @@
[Unit]
Description=A modern IRC server written in Go
After=network.target
+# If you are using MySQL for history storage, comment out the above line
+# and uncomment these two instead (you must independently install and configure
+# MySQL for your system):
+# Wants=mysql.service
+# After=network.target mysql.service
[Service]
-Type=simple
+Type=notify
User=ergo
Group=ergo
WorkingDirectory=/var/lib/ergo
ExecStart=/usr/bin/ergo run --conf /etc/ergo.conf
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
+LimitNOFILE=1048576
+NotifyAccess=main
+# Uncomment this for a hidden service:
+# PrivateNetwork=true
[Install]
WantedBy=multi-user.target