# How to update system service

**URL:** https://forums.suse.com/t/how-to-update-system-service/14563
**Category:** SUSE Rancher Prime
**Created:** [June 18, 2019, 7:16am UTC](https://forums.suse.com/t/how-to-update-system-service/14563 "2019-06-18T07:16:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cbergmann](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/cbergmann/32/5319_2.png) [@cbergmann](https://forums.suse.com/u/cbergmann)
#### Post date: [June 18, 2019, 7:16am UTC](https://forums.suse.com/t/how-to-update-system-service/14563/1 "2019-06-18T07:16:54Z")

</div>

Hi,

i wrote a little script to do the backup of my rancher setup. Now I want to call it regularly. I enabled the crontab service and created a file called /var/lib/rancher/conf/backup.yml with the following content to test if cron is working.

```
backup:
  image: alpine
  command: mount
  labels:
    io.rancher.os.scope: "system"
    cron.schedule: "*/1 * * * * ?"
  volumes_from:
    - system-volumes

```

I Added it with “ros service enable /var/lib/rancher/conf/backup.yml” and started the service with “ros service up backup”. With “ros service ps” I see that the service is started regulary. Now I want to change the command to to the real backup script. But I don’t know how I reapply the definition. I tried to “ros service stop …; ros service disable…; ros service delete…; ros service enable …; ros service start…” but this did not change the command shown in “ros service ps”.

Thanks for the help  
Clemens
