[AUR] Pre-compiled version of a Docker spec for running Rserve in a sandbox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rserve-sandbox-docker-bin/rserve-sandbox-docker.service

45 lines
1.4 KiB

#
# rserve-sandbox-docker.service
#
# Copyright (C) 2016 frnmst (Franco Masotti) <franco.masotti@student.unife.it>
#
# This file is part of swish-installer.
#
# swish-installer is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# swish-installer is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with swish-installer. If not, see <http://www.gnu.org/licenses/>.
#
#
# To be placed in /usr/lib/systemd/system/rserve-sandbox-docker.service
# or /lib/systemd/system/rserve-sandbox-docker.service
# depending on your GNU/Linux distribution
[Unit]
Description=Docker spec for running Rserve in a sandbox
Documentation=https://gitlab.com/frnmst/rserve-sandbox-bin https://github.com/JanWielemaker/rserve_client
Requires=docker.service
After=docker.service
[Service]
ExecStart=/usr/bin/rserve-sandbox-docker -s
ExecStop=/usr/bin/rserve-sandbox-docker -k
Type=forking
PIDFile=/run/rserve-sandbox-docker/rserve-sandbox-docker.pid
User=rsd
Group=rsd
RuntimeDirectory=rserve-sandbox-docker
[Install]
Also=docker.service
WantedBy=default.target