summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoffrey2020-09-22 19:59:35 +0200
committerJoffrey2020-09-22 19:59:35 +0200
commitd76f90cf10f8f812ecf0bc5474c64dc6550e9389 (patch)
treeed93b1a4b05979972104fba46e1cf8e010b9ac89
parent12118a82a5b5d944470ddecf6d6bc8e2d607963e (diff)
downloadaur-d76f90cf10f8f812ecf0bc5474c64dc6550e9389.tar.gz
Service update: Removes Seahub startup
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--seafile-server@.service13
3 files changed, 7 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 41203802629..248910d2ce7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -22,7 +22,7 @@ pkgbase = seafile-server
source = seafile-tmpfiles.conf
sha256sums = 407a6243f754e366ce6754a2aa643574aa7742d4e81b7cc350dea348f3063707
sha256sums = c4bd2b24fa2e5919b1ada61fff0dda7486460a8814764dc37db79178378d4930
- sha256sums = 19ed8a238b9cff5a8ad363fa6eda884a49da283aa913270dd667d1b9a19d8056
+ sha256sums = b09ab24829df0692e78b777802298b8cac23bdcdc31306e12ed3543833a7088e
sha256sums = 2faf52556d901ae18cfaa33b1cc55ee14abab4f78869eb6a2889ceeac4e3076a
sha256sums = 24962ce5cba697d18980b9d418c7654fbfc5118c69236f9fc94aa3cd526ac176
diff --git a/PKGBUILD b/PKGBUILD
index 15a22304221..70b7e1bce12 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -28,7 +28,7 @@ source=(
sha256sums=(
'407a6243f754e366ce6754a2aa643574aa7742d4e81b7cc350dea348f3063707'
'c4bd2b24fa2e5919b1ada61fff0dda7486460a8814764dc37db79178378d4930'
- '19ed8a238b9cff5a8ad363fa6eda884a49da283aa913270dd667d1b9a19d8056'
+ 'b09ab24829df0692e78b777802298b8cac23bdcdc31306e12ed3543833a7088e'
'2faf52556d901ae18cfaa33b1cc55ee14abab4f78869eb6a2889ceeac4e3076a'
'24962ce5cba697d18980b9d418c7654fbfc5118c69236f9fc94aa3cd526ac176'
)
diff --git a/seafile-server@.service b/seafile-server@.service
index 809055ed3be..53b111f8ef4 100644
--- a/seafile-server@.service
+++ b/seafile-server@.service
@@ -1,16 +1,13 @@
[Unit]
-Description=Next-generation open source cloud storage.
-After=syslog.target network.target
+Description=Seafile Server Core.
+After=network.target
[Service]
Type=forking
-User=seafile
-WorkingDirectory=/srv/seafile/%i/seafile-server
-
-ExecStartPre=/srv/seafile/%i/seafile-server/seafile.sh start
-ExecStart=/srv/seafile/%i/seafile-server/seahub.sh start
-ExecStop=/srv/seafile/%i/seafile-server/seahub.sh stop
+ExecStart=/srv/seafile/%i/seafile-server/seafile.sh start
ExecStop=/srv/seafile/%i/seafile-server/seafile.sh stop
+User=seafile
+Group=seafile
[Install]
WantedBy=multi-user.target