diff --git a/aur/plexmediaserver/PKGBUILD b/aur/plexmediaserver/PKGBUILD index 67861767c..f0bb9ebf3 100644 --- a/aur/plexmediaserver/PKGBUILD +++ b/aur/plexmediaserver/PKGBUILD @@ -12,7 +12,7 @@ buildarch=2 pkgname=plexmediaserver pkgver=0.9.9.7.429 -pkgrel=1 +pkgrel=2 _subver=f80a8d6 pkgdesc="Plex Media Server for Linux" url='http://www.plexapp.com' @@ -22,14 +22,14 @@ depends=('rsync' 'avahi') backup=('etc/conf.d/plexmediaserver') install='plexmediaserver.install' -source=("http://plex.r.worldssl.net/plex-media-server/${pkgver}-${_subver}/PlexMediaServer-${pkgver}-${_subver}-arm.spk" +source=("http://downloads.plexapp.com/plex-media-server/${pkgver}-${_subver}/PlexMediaServer-${pkgver}-${_subver}-arm.spk" "${pkgname}.conf.d" "${pkgname}.service" "start_pms") md5sums=('68eaa3a1bcfe7285ff66d9d30941a444' '32cdd9f9de446f6646616a0077151726' - 'b69f7188025ff62187724041c959adef' + '6601ebe6607cfb7dda9f3d77c1d043a9' 'c4d158ae6f9a186e4553551d062febe3') build() { mkdir ${srcdir}/plex diff --git a/aur/plexmediaserver/plexmediaserver.service b/aur/plexmediaserver/plexmediaserver.service index 922f00593..f08a00b7e 100644 --- a/aur/plexmediaserver/plexmediaserver.service +++ b/aur/plexmediaserver/plexmediaserver.service @@ -7,6 +7,8 @@ EnvironmentFile=-/etc/conf.d/plexmediaserver ExecStart=/opt/plexmediaserver/start_pms KillMode=process Type=forking +Restart=on-failure +RestartSec=5 [Install] WantedBy=multi-user.target