Skip to content

Instantly share code, notes, and snippets.

@joseph0x45
Created May 9, 2026 17:26
Show Gist options
  • Select an option

  • Save joseph0x45/ac5d4921712e191c4fc3cde76c31cd7f to your computer and use it in GitHub Desktop.

Select an option

Save joseph0x45/ac5d4921712e191c4fc3cde76c31cd7f to your computer and use it in GitHub Desktop.
Service file template
[Unit]
Description=test
After=network.target
Wants=network.target
[Service]
Type=simple
User=joseph
ExecStart=/usr/local/bin/gosvelte
Restart=on-failure
RestartSec=5
NoNewPrivileges=true
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment