Jump to content
flickerfly

10.5 on Ubuntu 16.04

Recommended Posts

It appears that client 10.05 works fine on Ubuntu 16.04 server, but the startup scripts do not operate properly.

$ sudo systemctl start rcl
Failed to start rcl.service: Unit rcl.service not found.
$ sudo service rcl start
Failed to start rcl.service: Unit rcl.service not found.

Has anyone built startup scripts for the systemd yet?  

  • Like 3

Share this post


Link to post
Share on other sites

Here is what I ended up coming up with. It should be put in /etc/systemd/system/

 

https://github.com/flickerfly/My-Script-Collection/blob/50b70155000cfe86c18e2587d85cd80e12a866fa/rcl.service

[Unit]
Description=Retrospect backup client
After=network.target local-fs.target system.slice systemd-journald-dev-log.socket basic.target sysinit.target systemd-journald.socket
Before=shutdown.target graphical.target multi-user.target

[Service]
ExecStart=/usr/local/retrospect/client/retroclient 
ExecStop=/usr/local/retrospect/client/retrocpl -stop
Restart=on-failure
RestartSec=60s

[Install]
WantedBy=multi-user.target
  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×