diff options
Diffstat (limited to '~coadde/torque')
-rw-r--r-- | ~coadde/torque/PKGBUILD | 59 | ||||
-rw-r--r-- | ~coadde/torque/torque-node.service | 12 | ||||
-rw-r--r-- | ~coadde/torque/torque-scheduler.service | 12 | ||||
-rw-r--r-- | ~coadde/torque/torque-server.service | 12 | ||||
-rw-r--r-- | ~coadde/torque/torque.install | 9 |
5 files changed, 0 insertions, 104 deletions
diff --git a/~coadde/torque/PKGBUILD b/~coadde/torque/PKGBUILD deleted file mode 100644 index c482c515c..000000000 --- a/~coadde/torque/PKGBUILD +++ /dev/null @@ -1,59 +0,0 @@ -# Maintainer: Márcio Silva <coadde@parabola.nu> - -pkgname=torque -pkgver=4.2.2 -_pkgver=1065 -pkgrel=3 -pkgdesc='An open source resource manager providing control over batch jobs and distributed compute nodes.' -url=http://www.adaptivecomputing.com/products/open-source/$pkgname/ -arch=( - i686 - x86_64 - mips64el -) -license=custom -depends=( - libxml2 - openssh -) -install=$pkgname.install -options=(!libtool) -backup=( - var/spool/$pkgname/mom_priv/config - var/spool/$pkgname/serv_priv/nodes - var/spool/$pkgname/serv_priv/serverdb - var/spool/$pkgname/server_name -) -source=( - $pkgname-$pkgver.tar.gz::http://www.adaptivecomputing.com/index.php?wpfb_dl=$_pkgver - $pkgname-{node,scheduler,server}.service -) -sha512sums=('9ad0bbe4afdec57a261d079ee236e9f52cd50345a91264888100a2d7bc2ee3026c05195715bf33e2eef8d7e2bf86342638d65ae814a27ca3401a19ae051c2c4d' - 'aa25cc61eb09aad7e6b43f9ac6b955095846e1db84501a2a1dfabdb44c59335f68be6c4916f934cbf6b6b56f6a42aafd80dfe9660c6e8e956af9b5e0fe5eb255' - 'c6c4be41fa4a66da0a64a28d373bae3b8821d7f1b64001464e62e2827c0a0655689e9d93801d3082752733d21dee3aae87544fb4816cb98e9848ef2c3a3388f0' - '566a782ea0327cbf946a698434e0fb1650aacf73a26c30a3789848162f574cc353c18d61ddc4b04e97690cfbc777b655efa1dc66d16390f608f27c1e6b823acb') - -build() { - cd $srcdir/$pkgname-$pkgver - setarch $CARCH ./configure --prefix=/usr\ - --disable-gui\ - --disable-gcc-warnings\ - --mandir=/usr/share/man\ - --with-default-server=localhost\ - --with-rcp=scp\ - --with-server-home=/var/spool/$pkgname\ - --with-tcl=no - mv src/resmom/Makefile src/resmom/Makefile.old - cat src/resmom/Makefile.old | sed 's/$(MOMLIBS) $(PBS_LIBS)/$(PBS_LIBS) $(MOMLIBS)/g' > src/resmom/Makefile - setarch $CARCH make -} - -package() { - cd $srcdir/$pkgname-$pkgver - setarch $CARCH make DESTDIR=$pkgdir install - - install -d $pkgdir/usr/lib/systemd/system - install -Dm644 $srcdir/*.service $pkgdir/usr/lib/systemd/system -} - -# vim:set ts=2 sw=2 et: diff --git a/~coadde/torque/torque-node.service b/~coadde/torque/torque-node.service deleted file mode 100644 index f8fcb46a2..000000000 --- a/~coadde/torque/torque-node.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=TORQUE node -Wants=basic.target -After=basic.target network.target - -[Service] -Type=forking -PIDFile=/var/spool/torque/mom_priv/mom.lock -ExecStart=/usr/bin/pbs_mom - -[Install] -WantedBy=multi-user.target diff --git a/~coadde/torque/torque-scheduler.service b/~coadde/torque/torque-scheduler.service deleted file mode 100644 index fa417cdf3..000000000 --- a/~coadde/torque/torque-scheduler.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=TORQUE scheduler -Wants=torque-server.service -After=torque-server.service - -[Service] -Type=forking -PIDFile=/var/spool/torque/sched_priv/sched.lock -ExecStart=/usr/bin/pbs_sched - -[Install] -WantedBy=multi-user.target diff --git a/~coadde/torque/torque-server.service b/~coadde/torque/torque-server.service deleted file mode 100644 index a491bbff7..000000000 --- a/~coadde/torque/torque-server.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=TORQUE server -Wants=basic.target -After=basic.target network.target - -[Service] -Type=forking -PIDFile=/var/spool/torque/server_priv/server.lock -ExecStart=/usr/bin/pbs_server - -[Install] -WantedBy=multi-user.target diff --git a/~coadde/torque/torque.install b/~coadde/torque/torque.install deleted file mode 100644 index 2e90bd1ba..000000000 --- a/~coadde/torque/torque.install +++ /dev/null @@ -1,9 +0,0 @@ -post_install() { - pbs_server -f -t create - systemctl stop torque-server - echo 'Change the server name in /var/spool/torque/server_name to your needs. -You may add your clients to /var/spool/torque/server_priv/nodes if your are the server. -Enable torque-server.service or torque-node.service depending on whether you are the server or a node.' -} - -# vim:set ts=2 sw=2 et: |