Last active
December 6, 2022 16:37
-
-
Save discountry/b16687a031146ce87f7e981f7f540bdd to your computer and use it in GitHub Desktop.
This file contains hidden or 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=Run chatGPT binary | |
| Wants=network.target | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| DynamicUser=yes | |
| WorkingDirectory=/var/www/chatGPT | |
| Environment=XDG_CONFIG_HOME="/path-to/.config" | |
| ExecStart=/path-to/chatGPT/chatgpt-telegram | |
| Restart=on-failure | |
| RestartSec=10 | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment