diff --git a/404.html b/404.html index 87285e6f7..5fb5370e5 100644 --- a/404.html +++ b/404.html @@ -10,7 +10,7 @@ - + diff --git a/advanced/kubernetes/index.html b/advanced/kubernetes/index.html index bb7ca2c4e..6c76add8d 100644 --- a/advanced/kubernetes/index.html +++ b/advanced/kubernetes/index.html @@ -10,7 +10,7 @@ - + diff --git a/advanced/palworld-directory/index.html b/advanced/palworld-directory/index.html index f33977a20..0fce20400 100644 --- a/advanced/palworld-directory/index.html +++ b/advanced/palworld-directory/index.html @@ -10,7 +10,7 @@ - + diff --git a/assets/js/d506b4f4.7173b346.js b/assets/js/d506b4f4.efb31684.js similarity index 59% rename from assets/js/d506b4f4.7173b346.js rename to assets/js/d506b4f4.efb31684.js index 754ae9348..b0b96b9a1 100644 --- a/assets/js/d506b4f4.7173b346.js +++ b/assets/js/d506b4f4.efb31684.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocusaurus=self.webpackChunkdocusaurus||[]).push([[536],{3128:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>a,contentTitle:()=>r,default:()=>l,frontMatter:()=>s,metadata:()=>c,toc:()=>d});var n=o(7624),i=o(2172);const s={sidebar_position:4},r="Automatic Reboots",c={id:"guides/automatic-reboots",title:"Automatic Reboots",description:"Configuring Automatic Reboots with Cron",source:"@site/docs/guides/automatic-reboots.md",sourceDirName:"guides",slug:"/guides/automatic-reboots",permalink:"/guides/automatic-reboots",draft:!1,unlisted:!1,editUrl:"https://github.com/thijsvanloef/palworld-server-docker/tree/main/docusaurus/docs/guides/automatic-reboots.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"tutorialSidebar",previous:{title:"Using discord webhooks",permalink:"/guides/discord/discord-webhooks"},next:{title:"Automatic Updates",permalink:"/guides/automatic-updates"}},a={},d=[{value:"Configuring Automatic Reboots with Cron",id:"configuring-automatic-reboots-with-cron",level:2}];function u(e){const t={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",p:"p",...(0,i.M)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"automatic-reboots",children:"Automatic Reboots"}),"\n",(0,n.jsx)(t.h2,{id:"configuring-automatic-reboots-with-cron",children:"Configuring Automatic Reboots with Cron"}),"\n",(0,n.jsxs)(t.p,{children:["To be able to use automatic reboots with this server ",(0,n.jsx)(t.code,{children:"RCON_ENABLED"})," enabled."]}),"\n",(0,n.jsxs)(t.admonition,{type:"warning",children:[(0,n.jsxs)(t.p,{children:["If docker restart is not set to policy ",(0,n.jsx)(t.code,{children:"always"})," or ",(0,n.jsx)(t.code,{children:"unless-stopped"}),"\nthen the server will shutdown and will need to be manually restarted."]}),(0,n.jsxs)(t.p,{children:["The example docker run command and docker compose file in ",(0,n.jsx)(t.a,{href:"https://palworld-server-docker.loef.dev/",children:"the Quicksetup"}),"\nalready use the needed policy"]})]}),"\n",(0,n.jsxs)(t.p,{children:["Set ",(0,n.jsx)(t.code,{children:"AUTO_REBOOT_ENABLED"})," to true or false to enable or disable automatic reboots (Default is disabled)"]}),"\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.code,{children:"AUTO_REBOOT_CRON_EXPRESSION"})," is a cron expression, in a Cron-Expression you define an interval for when to run jobs."]}),"\n",(0,n.jsx)(t.admonition,{type:"tip",children:(0,n.jsxs)(t.p,{children:["This image uses Supercronic for crons\nsee ",(0,n.jsx)(t.a,{href:"https://github.com/aptible/supercronic#crontab-format",children:"supercronic"}),"\nor ",(0,n.jsx)(t.a,{href:"https://crontab-generator.org",children:"Crontab Generator"}),"."]})}),"\n",(0,n.jsxs)(t.p,{children:["Set ",(0,n.jsx)(t.code,{children:"AUTO_REBOOT_CRON_EXPRESSION"})," to change the set the schedule, default is everynight at midnight according to the\ntimezone set with TZ"]})]})}function l(e={}){const{wrapper:t}={...(0,i.M)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}},2172:(e,t,o)=>{o.d(t,{I:()=>c,M:()=>r});var n=o(1504);const i={},s=n.createContext(i);function r(e){const t=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),n.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocusaurus=self.webpackChunkdocusaurus||[]).push([[536],{3128:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>a,contentTitle:()=>r,default:()=>l,frontMatter:()=>s,metadata:()=>c,toc:()=>d});var n=o(7624),i=o(2172);const s={sidebar_position:4},r="Automatic Reboots",c={id:"guides/automatic-reboots",title:"Automatic Reboots",description:"Configuring Automatic Reboots with Cron",source:"@site/docs/guides/automatic-reboots.md",sourceDirName:"guides",slug:"/guides/automatic-reboots",permalink:"/guides/automatic-reboots",draft:!1,unlisted:!1,editUrl:"https://github.com/thijsvanloef/palworld-server-docker/tree/main/docusaurus/docs/guides/automatic-reboots.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"tutorialSidebar",previous:{title:"Using discord webhooks",permalink:"/guides/discord/discord-webhooks"},next:{title:"Automatic Updates",permalink:"/guides/automatic-updates"}},a={},d=[{value:"Configuring Automatic Reboots with Cron",id:"configuring-automatic-reboots-with-cron",level:2}];function u(e){const t={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",p:"p",...(0,i.M)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"automatic-reboots",children:"Automatic Reboots"}),"\n",(0,n.jsx)(t.h2,{id:"configuring-automatic-reboots-with-cron",children:"Configuring Automatic Reboots with Cron"}),"\n",(0,n.jsxs)(t.p,{children:["To be able to use automatic reboots with this server ",(0,n.jsx)(t.code,{children:"RCON_ENABLED"})," enabled."]}),"\n",(0,n.jsxs)(t.admonition,{type:"warning",children:[(0,n.jsxs)(t.p,{children:["If docker restart is not set to policy ",(0,n.jsx)(t.code,{children:"always"})," or ",(0,n.jsx)(t.code,{children:"unless-stopped"}),"\nthen the server will shutdown and will need to be manually restarted."]}),(0,n.jsxs)(t.p,{children:["The example docker run command and docker compose file in ",(0,n.jsx)(t.a,{href:"https://palworld-server-docker.loef.dev/",children:"the Quicksetup"}),"\nalready use the needed policy"]})]}),"\n",(0,n.jsxs)(t.p,{children:["Set ",(0,n.jsx)(t.code,{children:"AUTO_REBOOT_ENABLED"})," to ",(0,n.jsx)(t.code,{children:"true"})," or ",(0,n.jsx)(t.code,{children:"false"})," to enable or disable automatic reboots (Default is disabled)"]}),"\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.code,{children:"AUTO_REBOOT_CRON_EXPRESSION"})," is a cron expression, in a Cron-Expression you define an interval for when to run jobs."]}),"\n",(0,n.jsx)(t.admonition,{type:"tip",children:(0,n.jsxs)(t.p,{children:["This image uses Supercronic for crons\nsee ",(0,n.jsx)(t.a,{href:"https://github.com/aptible/supercronic#crontab-format",children:"supercronic"}),"\nor ",(0,n.jsx)(t.a,{href:"https://crontab-generator.org",children:"Crontab Generator"}),"."]})}),"\n",(0,n.jsxs)(t.p,{children:["Set ",(0,n.jsx)(t.code,{children:"AUTO_REBOOT_CRON_EXPRESSION"})," to change the set the schedule, default is everynight at midnight according to the\ntimezone set with TZ"]})]})}function l(e={}){const{wrapper:t}={...(0,i.M)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}},2172:(e,t,o)=>{o.d(t,{I:()=>c,M:()=>r});var n=o(1504);const i={},s=n.createContext(i);function r(e){const t=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),n.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.51426da8.js b/assets/js/runtime~main.fde9c975.js similarity index 98% rename from assets/js/runtime~main.51426da8.js rename to assets/js/runtime~main.fde9c975.js index 054c51e0c..4ac9c3617 100644 --- a/assets/js/runtime~main.51426da8.js +++ b/assets/js/runtime~main.fde9c975.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,t,r,f,o={},n={};function d(e){var a=n[e];if(void 0!==a)return a.exports;var t=n[e]={id:e,loaded:!1,exports:{}};return o[e].call(t.exports,t,t.exports,d),t.loaded=!0,t.exports}d.m=o,d.c=n,e=[],d.O=(a,t,r,f)=>{if(!t){var o=1/0;for(u=0;u=f)&&Object.keys(d.O).every((e=>d.O[e](t[c])))?t.splice(c--,1):(n=!1,f0&&e[u-1][2]>f;u--)e[u]=e[u-1];e[u]=[t,r,f]},d.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return d.d(a,{a:a}),a},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,d.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var f=Object.create(null);d.r(f);var o={};a=a||[null,t({}),t([]),t(t)];for(var n=2&r&&e;"object"==typeof n&&!~a.indexOf(n);n=t(n))Object.getOwnPropertyNames(n).forEach((a=>o[a]=()=>e[a]));return o.default=()=>e,d.d(f,o),f},d.d=(e,a)=>{for(var t in a)d.o(a,t)&&!d.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce(((a,t)=>(d.f[t](e,a),a)),[])),d.u=e=>"assets/js/"+({84:"db373f69",88:"3f1e559a",160:"7a181475",176:"12e5e4b2",304:"5e95c892",348:"a9f89893",356:"582288e3",384:"8a6a27d2",412:"9c401ef1",464:"8de80f25",500:"a7bd4aaa",528:"c3826a0d",536:"d506b4f4",540:"8482a3f6",560:"6fca854b",576:"14eb3368",606:"f87e4a5f",608:"3ff43f10",612:"ca732820",648:"1a4e3797",666:"a94703ab",680:"712f1aaf",696:"935f2afb",704:"e2835484",752:"17896441",764:"c19f478c",840:"729a6696",992:"9035fd2b",995:"759d9c7b"}[e]||e)+"."+{84:"7774c58e",88:"a6058c5c",148:"acc93b26",160:"cc93f103",176:"20c40e5a",304:"9275e255",348:"85a5d6c3",356:"c8d1ae8a",384:"b979a34c",412:"6b113b87",464:"64c6aaeb",500:"fef65725",528:"b461f91c",536:"7173b346",540:"a943e2dd",552:"d5eb58f9",560:"9eb4e69b",576:"15a339bb",606:"a6450d4f",608:"ee8336bf",612:"d5b0e41e",648:"93a18484",666:"b4c064cc",676:"6ea46a13",680:"69c5d896",696:"46d74570",704:"0d597990",752:"0395c55d",764:"34919d50",840:"e75f2cfb",879:"4f0b6466",992:"c5d829b4",995:"4e4b102f"}[e]+".js",d.miniCssF=e=>{},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),r={},f="docusaurus:",d.l=(e,a,t,o)=>{if(r[e])r[e].push(a);else{var n,c;if(void 0!==t)for(var i=document.getElementsByTagName("script"),u=0;u{n.onerror=n.onload=null,clearTimeout(s);var f=r[e];if(delete r[e],n.parentNode&&n.parentNode.removeChild(n),f&&f.forEach((e=>e(t))),a)return a(t)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=l.bind(null,n.onerror),n.onload=l.bind(null,n.onload),c&&document.head.appendChild(n)}},d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.p="/",d.gca=function(e){return e={17896441:"752",db373f69:"84","3f1e559a":"88","7a181475":"160","12e5e4b2":"176","5e95c892":"304",a9f89893:"348","582288e3":"356","8a6a27d2":"384","9c401ef1":"412","8de80f25":"464",a7bd4aaa:"500",c3826a0d:"528",d506b4f4:"536","8482a3f6":"540","6fca854b":"560","14eb3368":"576",f87e4a5f:"606","3ff43f10":"608",ca732820:"612","1a4e3797":"648",a94703ab:"666","712f1aaf":"680","935f2afb":"696",e2835484:"704",c19f478c:"764","729a6696":"840","9035fd2b":"992","759d9c7b":"995"}[e]||e,d.p+d.u(e)},(()=>{var e={296:0,556:0};d.f.j=(a,t)=>{var r=d.o(e,a)?e[a]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(29|55)6$/.test(a))e[a]=0;else{var f=new Promise(((t,f)=>r=e[a]=[t,f]));t.push(r[2]=f);var o=d.p+d.u(a),n=new Error;d.l(o,(t=>{if(d.o(e,a)&&(0!==(r=e[a])&&(e[a]=void 0),r)){var f=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;n.message="Loading chunk "+a+" failed.\n("+f+": "+o+")",n.name="ChunkLoadError",n.type=f,n.request=o,r[1](n)}}),"chunk-"+a,a)}},d.O.j=a=>0===e[a];var a=(a,t)=>{var r,f,o=t[0],n=t[1],c=t[2],i=0;if(o.some((a=>0!==e[a]))){for(r in n)d.o(n,r)&&(d.m[r]=n[r]);if(c)var u=c(d)}for(a&&a(t);i{"use strict";var e,a,t,r,f,o={},n={};function d(e){var a=n[e];if(void 0!==a)return a.exports;var t=n[e]={id:e,loaded:!1,exports:{}};return o[e].call(t.exports,t,t.exports,d),t.loaded=!0,t.exports}d.m=o,d.c=n,e=[],d.O=(a,t,r,f)=>{if(!t){var o=1/0;for(u=0;u=f)&&Object.keys(d.O).every((e=>d.O[e](t[c])))?t.splice(c--,1):(n=!1,f0&&e[u-1][2]>f;u--)e[u]=e[u-1];e[u]=[t,r,f]},d.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return d.d(a,{a:a}),a},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,d.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var f=Object.create(null);d.r(f);var o={};a=a||[null,t({}),t([]),t(t)];for(var n=2&r&&e;"object"==typeof n&&!~a.indexOf(n);n=t(n))Object.getOwnPropertyNames(n).forEach((a=>o[a]=()=>e[a]));return o.default=()=>e,d.d(f,o),f},d.d=(e,a)=>{for(var t in a)d.o(a,t)&&!d.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce(((a,t)=>(d.f[t](e,a),a)),[])),d.u=e=>"assets/js/"+({84:"db373f69",88:"3f1e559a",160:"7a181475",176:"12e5e4b2",304:"5e95c892",348:"a9f89893",356:"582288e3",384:"8a6a27d2",412:"9c401ef1",464:"8de80f25",500:"a7bd4aaa",528:"c3826a0d",536:"d506b4f4",540:"8482a3f6",560:"6fca854b",576:"14eb3368",606:"f87e4a5f",608:"3ff43f10",612:"ca732820",648:"1a4e3797",666:"a94703ab",680:"712f1aaf",696:"935f2afb",704:"e2835484",752:"17896441",764:"c19f478c",840:"729a6696",992:"9035fd2b",995:"759d9c7b"}[e]||e)+"."+{84:"7774c58e",88:"a6058c5c",148:"acc93b26",160:"cc93f103",176:"20c40e5a",304:"9275e255",348:"85a5d6c3",356:"c8d1ae8a",384:"b979a34c",412:"6b113b87",464:"64c6aaeb",500:"fef65725",528:"b461f91c",536:"efb31684",540:"a943e2dd",552:"d5eb58f9",560:"9eb4e69b",576:"15a339bb",606:"a6450d4f",608:"ee8336bf",612:"d5b0e41e",648:"93a18484",666:"b4c064cc",676:"6ea46a13",680:"69c5d896",696:"46d74570",704:"0d597990",752:"0395c55d",764:"34919d50",840:"e75f2cfb",879:"4f0b6466",992:"c5d829b4",995:"4e4b102f"}[e]+".js",d.miniCssF=e=>{},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),r={},f="docusaurus:",d.l=(e,a,t,o)=>{if(r[e])r[e].push(a);else{var n,c;if(void 0!==t)for(var i=document.getElementsByTagName("script"),u=0;u{n.onerror=n.onload=null,clearTimeout(s);var f=r[e];if(delete r[e],n.parentNode&&n.parentNode.removeChild(n),f&&f.forEach((e=>e(t))),a)return a(t)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=l.bind(null,n.onerror),n.onload=l.bind(null,n.onload),c&&document.head.appendChild(n)}},d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.p="/",d.gca=function(e){return e={17896441:"752",db373f69:"84","3f1e559a":"88","7a181475":"160","12e5e4b2":"176","5e95c892":"304",a9f89893:"348","582288e3":"356","8a6a27d2":"384","9c401ef1":"412","8de80f25":"464",a7bd4aaa:"500",c3826a0d:"528",d506b4f4:"536","8482a3f6":"540","6fca854b":"560","14eb3368":"576",f87e4a5f:"606","3ff43f10":"608",ca732820:"612","1a4e3797":"648",a94703ab:"666","712f1aaf":"680","935f2afb":"696",e2835484:"704",c19f478c:"764","729a6696":"840","9035fd2b":"992","759d9c7b":"995"}[e]||e,d.p+d.u(e)},(()=>{var e={296:0,556:0};d.f.j=(a,t)=>{var r=d.o(e,a)?e[a]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(29|55)6$/.test(a))e[a]=0;else{var f=new Promise(((t,f)=>r=e[a]=[t,f]));t.push(r[2]=f);var o=d.p+d.u(a),n=new Error;d.l(o,(t=>{if(d.o(e,a)&&(0!==(r=e[a])&&(e[a]=void 0),r)){var f=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;n.message="Loading chunk "+a+" failed.\n("+f+": "+o+")",n.name="ChunkLoadError",n.type=f,n.request=o,r[1](n)}}),"chunk-"+a,a)}},d.O.j=a=>0===e[a];var a=(a,t)=>{var r,f,o=t[0],n=t[1],c=t[2],i=0;if(o.some((a=>0!==e[a]))){for(r in n)d.o(n,r)&&(d.m[r]=n[r]);if(c)var u=c(d)}for(a&&a(t);i