summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTommy Jerry Mairo2016-09-08 22:18:57 -0700
committerTommy Jerry Mairo2016-09-08 22:18:57 -0700
commit89c7bc2a5673a72a810738ed62fc045aa1ddc46c (patch)
tree2d78d69e28b9613a9013b8f63b8b96722c5ea5bb
parent62f1216e804abd3712b421687e3efb32fc36aa10 (diff)
downloadaur-89c7bc2a5673a72a810738ed62fc045aa1ddc46c.tar.gz
Add supervisor
-rw-r--r--PKGBUILD2
-rw-r--r--amuled.systemd2
2 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d0d95ab4c8b5..6407f9a81d09 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,7 +21,7 @@ source=("git+https://github.com/persmule/amule-dlp.git#commit=d41da5b9e588fc11f8
'amuled.systemd'
'amuleweb.systemd')
sha256sums=('SKIP'
- '527a2cca6d56b8269722aafc77a89734f59a929f946f342bd0f69b256f9c7522'
+ '6dbdd1ad1c3c3d8637b8f4cbd5416f39c8e4277a2f8498577b08bf6cda8dbca9'
'f4f43b1154ddccc9036a4291a58c6715f097b171fec62ea7aead0c9d9fa654f2')
pkgver() {
diff --git a/amuled.systemd b/amuled.systemd
index e1878dfd9759..f3392b9331bb 100644
--- a/amuled.systemd
+++ b/amuled.systemd
@@ -5,6 +5,8 @@ After=network.target
# This assumes that a user 'amule' exists, with a writeable home directory
[Service]
User=amule
+Restart=always
+RestartSec=30
ExecStart=/usr/bin/amuled
[Install]