Last active
January 15, 2023 07:40
-
-
Save Max95Cohen/b0386fa8df50b959cd1ce295f4d689c5 to your computer and use it in GitHub Desktop.
example.service linux systemd
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=goweb | |
After=network.target | |
[Service] | |
Type=simple | |
Restart=always | |
RestartSec=5s | |
ExecStart=/home/kafka/main | |
User= | |
Group= | |
LimitNOFILE=4096 | |
WorkingDirectory= | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment