Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
systemd service file
# https://wiki.debian.org/systemd/Services
# Contents of /etc/systemd/system/myservice.service
[Unit]
Description=My Service
After=network.target
[Service]
Type=simple
Restart=always
ExecStart=/usr/local/bin/myservice
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment