freebsd service
In Ubuntu is easy to create this  permanent service : 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/etc/systemd/system/xmrig.service
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
example:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Unit]
Description=XMRIG Service
[Service]
ExecStart=/home/test/xmrig-c /home/test/config.json
Restart=always
Nice=10
[Install]
WantedBy=multi-user.target
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

But in FreeBSD.
can someone give a example ?





