Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :

Go Back   Cockos Incorporated Forums > NINJAM Discussion > NINJAM Developer Discussion

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-03-2020, 01:20 AM   #1
Human being with feelings
Join Date: Mar 2020
Posts: 35
Default Steps for turning ninjam server into a service on linux (systemd)

1) Choose a name for the service. In this example the name is "ninjam1".

2) Choose a local linux user to run the service. The user should have permissions to run the ninjam executable and to write to the logfile specific in the ninjam config.

3) As root, create the unit file for systemd, e.g:

vi /etc/systemd/system/ninjam1.service

4) Enter the text below and save. Replace items in <>

Description=Ninjam 1 Service

ExecStart=<path>/ninjamsrv <path>/<ninjam_config_file>


5) Enter the following commands:

systemctl daemon-reload
systemctl start ninjam1

6) Check for errors with commands such as :

systemctl status ninjam1
tail /var/log/messages

Otherwise try to connect to your server from a ninjam client.

7) If everything works:

systemctl enable ninjam1
ozprog is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 07:57 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.