Stop/Start all core services in SSH

Domotica gratuit Forums How can I …? Synology NAS Stop/Start all core services in SSH

5 sujets de 1 à 5 (sur un total de 5)
  • Auteur
    Messages
  • #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
    Maître des clés

    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
    Maître des clés

    It runs: ./services/core/core

    Kind regards,
    K.Rens

    #3104
    Avatarleroymth
    Participant

    Case is solved.
    Thx.

5 sujets de 1 à 5 (sur un total de 5)
  • Vous devez être connecté pour répondre à ce sujet.