Permalink
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 365 Bytes
[Unit]
Description=ShinyServer
[Service]
Type=simple
ExecStart=/usr/bin/env bash -c 'exec /opt/shiny-server/bin/shiny-server >> /var/log/shiny-server.log 2>&1'
KillMode=process
ExecReload=/usr/bin/env kill -HUP $MAINPID
ExecStopPost=/usr/bin/env sleep 5
Restart=on-failure
RestartSec=1
StartLimitInterval=45
StartLimitBurst=3
[Install]
WantedBy=multi-user.target