Skip to content

Instantly share code, notes, and snippets.

@lukepighetti
Last active July 31, 2025 10:34
Show Gist options
  • Select an option

  • Save lukepighetti/86db9bd0fd5cc6be2bb4b11631652b18 to your computer and use it in GitHub Desktop.

Select an option

Save lukepighetti/86db9bd0fd5cc6be2bb4b11631652b18 to your computer and use it in GitHub Desktop.

Revisions

  1. lukepighetti revised this gist Jul 2, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pocketbase.service
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@ Group = root
    LimitNOFILE = 4096
    Restart = always
    RestartSec = 5s
    StandardOutput = append:/root/errors.log
    StandardOutput = append:/root/output.log
    StandardError = append:/root/errors.log
    ExecStart = /root/pocketbase serve pocketbased.chadflare.com

  2. lukepighetti revised this gist Jul 2, 2024. No changes.
  3. lukepighetti revised this gist Jun 28, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,10 @@
    ```bash
    vim /lib/systemd/system/pocketbase.service
    systemctl enable pocketbase
    systemctl start pocketbase
    ```

    ```bash
    systemctl start pocketbase
    systemctl status pocketbase
    systemctl stop pocketbase
    systemctl restart pocketbase
  4. lukepighetti revised this gist Jun 28, 2024. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,10 @@
    ```bash
    vim /lib/systemd/system/pocketbase.service
    systemctl start pocketbase
    systemctl enable pocketbase
    ```

    ```bash
    systemctl start pocketbase
    systemctl status pocketbase
    systemctl stop pocketbase
    systemctl restart pocketbase
  5. lukepighetti revised this gist Jun 28, 2024. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,10 @@
    ```bash
    vim /lib/systemd/system/pocketbase.service
    systemctl start pocketbase
    ```

    ```bash
    systemctl status pocketbase
    systemctl stop pocketbase
    systemctl restart pocketbase
    ```
  6. lukepighetti revised this gist Jun 28, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pocketbase.service
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@ Restart = always
    RestartSec = 5s
    StandardOutput = append:/root/errors.log
    StandardError = append:/root/errors.log
    ExecStart = /root/ptp/pocketbase serve pocketbased.chadflare.com
    ExecStart = /root/pocketbase serve pocketbased.chadflare.com

    [Install]
    WantedBy = multi-user.target
  7. lukepighetti revised this gist Jun 28, 2024. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    ```bash
    vim /lib/systemd/system/pocketbase.service
    systemctl start pocketbase
    ```
  8. lukepighetti created this gist Jun 28, 2024.
    16 changes: 16 additions & 0 deletions pocketbase.service
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    [Unit]
    Description = pocketbase

    [Service]
    Type = simple
    User = root
    Group = root
    LimitNOFILE = 4096
    Restart = always
    RestartSec = 5s
    StandardOutput = append:/root/errors.log
    StandardError = append:/root/errors.log
    ExecStart = /root/ptp/pocketbase serve pocketbased.chadflare.com

    [Install]
    WantedBy = multi-user.target