Example for systemd service file
This file controls the automatic start of ButConnect by systemd.
# /etc/systemd/system/butconnect.service
[Unit]Description=ButConnect
After=network.target
[Service]
Type=simple
EnvironmentFile=/etc/default/butconnect
WorkingDirectory=/opt/bcmin
ExecStart=/usr/bin/mono /opt/bcmin/ButConnect.exe -cf -cn
Restart=always
[Install]
WantedBy=multi-user.target