FastRWeb icon indicating copy to clipboard operation
FastRWeb copied to clipboard

systemd-startup-file

Open eingemaischt opened this issue 5 years ago • 1 comments

It would be great to have a systemd-startup-definition file...

Does anyone already created one for his/her use and can share it?

(I'm currently upgrading a FastRWeb installation - and I don't want to emulate a rc.local-file on the new systemd-based Debian ;-) )

eingemaischt avatar Jan 09 '20 11:01 eingemaischt

Hi!

I'm using the following for a webservice that uses FastRWeb for a background task. In my case it runs on CentOS 7 with an SCL-provided apache httpd for the usual webstuff, but it should be a decent starting point.

[Unit] Description=Rserve session for my-project.org Before=httpd24-httpd.service

[Service] Type=forking #Restart=always #RestartSec=10 Environment=R_HOME=/usr/lib64/R ExecStart=/usr/lib64/R/bin/Rserve --RS-conf /var/FastRWeb/code/rserve.conf --vanilla --no-save

[Install] WantedBy=multi-user.target

On Thu, 9 Jan 2020 at 12:25, TeGuy [email protected] wrote:

It would be great to have a systemd-startup-definition file...

Does anyone already created one for his/her use and can share it?

(I'm currently upgrading a FastRWeb installation - and I don't want to emulate a rc.local-file on the new systemd-based Debian ;-) )

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/s-u/FastRWeb/issues/9?email_source=notifications&email_token=AETNNXWOUNYQUBOGAJ26SZTQ44CSPA5CNFSM4KEWXVUKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IFA6QAA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AETNNXX5YXVM3CZH3UYKJBTQ44CSPANCNFSM4KEWXVUA .

-- Mattias Borell +46 705 39 26 56

Lu-Tze-Jr avatar Jan 15 '20 12:01 Lu-Tze-Jr