Skip to content

Instantly share code, notes, and snippets.

@Max95Cohen
Last active January 15, 2023 07:40
Show Gist options
  • Save Max95Cohen/b0386fa8df50b959cd1ce295f4d689c5 to your computer and use it in GitHub Desktop.
Save Max95Cohen/b0386fa8df50b959cd1ce295f4d689c5 to your computer and use it in GitHub Desktop.
example.service linux systemd
[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