Remember to replace the folder directory, <AdminPassword>, <RCONPort> to your own.
Also, you need to use crontab to schedule the following scripts if necessary.
I'm using supervisor to restart the service, the example config is as:
I've been in the #pal-server-help channel for a while now, and these same things keep coming up. So here's a one stop list of items people keep asking for.
This has migrated over to https://github.com/cheahjs/palworld-save-tools.
Old versions of the script hosted here can be found from the revisions list: https://gist.github.com/cheahjs/300239464dd84fe6902893b6b9250fd0/revisions
| ## Note, this file is written by cloud-init on first boot of an instance | |
| ## modifications made here will not survive a re-bundle. | |
| ## if you wish to make changes you can: | |
| ## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg | |
| ## or do the same in user-data | |
| ## b.) add sources in /etc/apt/sources.list.d | |
| ## c.) make changes to template file /etc/cloud/templates/sources.list.tmpl | |
| # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
| # newer versions of the distribution. |
| # Serve nextJS app from a port through NGINX reverse proxy (HTTP) | |
| # Path: /etc/nginx/sites-available/default | |
| # Default server configuration for HTTP | |
| server { | |
| server_name www.DOMAINNAME.com DOMAINNAME.com; | |
| # Serve any static assets with NGINX | |
| location /_next/static { | |
| alias /home/ubuntu/PROJECT_FOLDER/.next/static; |
Pentesting-Exploitation Programs and Commands , Protocols Network / Ports
py --versionpy -m pip install opencv-contrib-pythonpyimport cv2| #include <string.h> | |
| #include <gst/gst.h> | |
| #include <signal.h> | |
| #include <unistd.h> | |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| // v4l2src ! tee name=t t. ! x264enc ! mp4mux ! filesink location=/home/rish/Desktop/okay.264 t. ! videoconvert ! autovideosink | |
| static GMainLoop *loop; |