LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-15-2023, 04:28 AM   #1
Jason.nix
Member
 
Registered: Feb 2023
Posts: 562

Rep: Reputation: 10
Post Installing the program from the source code


Hello,
I installed the last version of Suricata-IDS from its source code on Debian 12.0, but its service is not created and I can't start and stop it through the systemctl command.
Any idea?

Thank you.
 
Old 11-15-2023, 04:51 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,597
Blog Entries: 19

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
Make a service file for it! You can use an existing one as a model. Or follow this guide. Also, from what I can remember, all the systemd ancillary file types are very well documented in the man pages. They are based on an old Windows config format whose name I forget.

One of the driving forces towards widespread acceptance of systemd was that configuration using these files was considered easier than writing init scripts for starting and stopping services. I've come to think that this isn't worth the extra complication in the internals of your system, but I can see the point of the argument.

Last edited by hazel; 11-15-2023 at 04:54 AM.
 
1 members found this post helpful.
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: GitHub stores open source code in an Arctic Code Vault, Linux Foundation launches public health initiative, and more open source news LXer Syndicated Linux News 0 07-26-2020 10:23 PM
list the steps for installing a program from source code kenholtmeyer Linux - Newbie 12 08-14-2011 09:40 PM
How to convert Assembly code to "C" source code ssg14j Programming 2 08-01-2005 12:48 PM
User Preferences: Use HTML code instead of vB code? (vB code is overrated) stefanlasiewski LQ Suggestions & Feedback 5 07-26-2005 01:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration