Want to subscribe to topics you're interested in?
Become a Member

Beta Branch update tools/sitestatus.sh offline/online alias cmds

Discussion in 'Centmin Mod Github Commits' started by eva2000, Apr 26, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    54,894
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    8:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  2. Jimmy

    Jimmy Well-Known Member

    1,788
    390
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +990
    Local Time:
    6:26 AM
    Saw the sitestatus file update when I ran the Centmin Mod Updater. But when I tried sitestatus offline it gave me an error that on/off/setup were the only options.
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,894
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    8:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    change is only for new installs right now IIRC but try re-running centmin.sh once again after centmin.sh menu option 23 submenu option 2 update
     
  4. Jimmy

    Jimmy Well-Known Member

    1,788
    390
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +990
    Local Time:
    6:26 AM
    Still only works with on/off. Not a big deal.
     
  5. ethanpil

    ethanpil Active Member

    173
    55
    28
    Nov 8, 2015
    Ratings:
    +101
    Local Time:
    8:26 PM
    How can we customize thw HTML content? Can we edit content for online vs on?
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,894
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    8:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    see https://community.centminmod.com/threads/sitestatus-maintenance-mode.5599/ it's just matter of editing your web root copy of maintenance.html page - located in each nginx vhost public web root at /home/nginx/domains/domain.com/public/maintenance.html

    k will look into that
     
  7. ethanpil

    ethanpil Active Member

    173
    55
    28
    Nov 8, 2015
    Ratings:
    +101
    Local Time:
    8:26 PM
    Would you be interesting in adding a second command for enabled / disabled?

    For example if I am hosting a site for someone and they don't pay the bill, we can set it disabled with a similar command and a /home/nginx/domains/domain.com/disabled.html
     
  8. Jimmy

    Jimmy Well-Known Member

    1,788
    390
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +990
    Local Time:
    6:26 AM
    I think @eva2000 going rate for custom work is $350 an hour. But I could be wrong, it might be more.
     
  9. eva2000

    eva2000 Administrator Staff Member

    54,894
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    8:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    hehe

    @joshuaharradence has suspension feature request at https://community.centminmod.com/threads/suspend-a-website.11438/
     
  10. ethanpil

    ethanpil Active Member

    173
    55
    28
    Nov 8, 2015
    Ratings:
    +101
    Local Time:
    8:26 PM
    I dont think its an reasonable request for a web site hosting platform. I'm sure hundreds or thousands of servers using this software are used for client hosting. I can easily write it myself but I would prefer it getting included in the platform so I can upgrade worry free. I don't see @eva2000 accepting too many PRs so I don't want to waste my time.
     
  11. Jimmy

    Jimmy Well-Known Member

    1,788
    390
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +990
    Local Time:
    6:26 AM
    Write it up post it to github - contribute to the code. If it works, @eva2000 will add it and probably update it after that.
     
  12. eva2000

    eva2000 Administrator Staff Member

    54,894
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    8:26 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Well Centmin Mod isn't for shared hosting so client suspensions aren't a situation that it would be used for, but i can see it being useful to suspend a site of your own.

    Pull requests have happened if they're easy to merge/test and in right branch i.e. 123.09beta01 and NOT master i.e. Pull Requests · centminmod/centminmod · GitHub
     
  13. pamamolf

    pamamolf Premium Member Premium Member

    4,086
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    12:26 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Hello :)

    George can you please check the update function as when we update and re run centmin.sh it has again only the on/off/setup and it doesn't update it .... ?

    Thank you