Jump to content

10.5 on Ubuntu 16.04


flickerfly

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
Link to comment
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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...