Skip to main content
Config

systemd Service Generator

Generate a systemd unit for your service.

[Unit]
Description=myapp service
After=network.target

[Service]
Type=simple
User=www-data
WorkingDirectory=/opt/myapp
ExecStart=/usr/bin/node /opt/myapp/index.js
Restart=on-failure
RestartSec=5
Environment=NODE_ENV=production

[Install]
WantedBy=multi-user.target

Generated in your browser. Free, nothing is uploaded.

About this tool

Free systemd service generator tool. Generate a systemd unit for your service. No signup, nothing uploaded.

Frequently asked questions

Is the output safe to use?

It is a conservative starting point — always review it before applying.

Do you need access to my server?

No. Paste the config yourself after reviewing.

Can I customise it?

Set domains, ports and paths in the fields, then edit the output.

Need more than a tool?

HostingSwift runs the servers too — VPS, web hosting, email, DNS and streaming, with a free tier to start.