flickerfly Posted July 28, 2016 Report Share Posted July 28, 2016 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? 3 Quote Link to comment Share on other sites More sharing options...
rosiewoodboat Posted August 2, 2016 Report Share Posted August 2, 2016 Is this related to the use of Upstart instead of Systemd? https://wiki.ubuntu.com/SystemdForUpstartUsers Quote Link to comment Share on other sites More sharing options...
flickerfly Posted August 4, 2016 Author Report Share Posted August 4, 2016 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 1 Quote Link to comment Share on other sites More sharing options...
flickerfly Posted August 4, 2016 Author Report Share Posted August 4, 2016 Is this related to the use of Upstart instead of Systemd? https://wiki.ubuntu.com/SystemdForUpstartUsers Other way around. Ubuntu 16.04 uses Systemd where it used to use Upstart. The one thing I can't replicate is gathering the status from the service in the same way as was done before. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.