systemd Unit File

2019-06-21

/etc/systemd/system/example.service

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

[Service]
Type=simple
ExecStart=/path/to/example/binary
WorkingDirectory=/path/to/example

[Install]
WantedBy=multi-user.target
Alias=example.service