Stop/Start all core services in SSH

Free domotica! Forums How can I …? Synology NAS Stop/Start all core services in SSH

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2472
    Avatarleroymth
    Participant

    Hi Everybody,

    I’m looking for in SSH how to stop and start all core services (database/zwave etc…)
    Therefore I would like to schedule a daily stop/start in SSH.

    Thx in advance for the help!

    #2485
    MikaMika
    Keymaster

    kill $(ps | grep ‘PulseStation’ | awk ‘{print $1}’)

    Try this in ssh, it should work…

    #2522
    Avatarleroymth
    Participant

    Hi Mika,

    Yes it is a solution :). I will integrate the kill in a KSH.

    I tried to start service with command ‘core’ but only service core is not started at the end (I checked directly into the GUI).

    Do you know which command is launched when we are clicking on “Démarrer”/”Start” core services?

    Thx for your support!

    #2578
    AvatarK.Rens
    Keymaster

    It runs: ./services/core/core

    Kind regards,
    K.Rens

    #3104
    Avatarleroymth
    Participant

    Case is solved.
    Thx.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.