Created
September 9, 2022 15:52
-
-
Save raghavmri/037759257346fd3e35a2f59c96533363 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description = pocketbase | |
[Service] | |
Type = simple | |
User = YOUR_USER | |
Group = YOUR_GROUP | |
LimitNOFILE = 4096 | |
Restart = always | |
RestartSec = 5s | |
StandardOutput = append:/your/path/to/logs/errors.log | |
StandardError = append:/your/path/to/logs/errors.log | |
ExecStart = /your/path/to/pocketbase serve --http="yourdomain.com:80" --https="yourdomain.com:443" | |
[Install] | |
WantedBy = multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment