LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-30-2015, 11:34 AM   #1
NotAComputerGuy
Member
 
Registered: Jun 2012
Distribution: Linux Mint - Debian Edition
Posts: 349

Rep: Reputation: 13
Create a Service - OpenMediaVault/Debian


I've installed OpenVPN on OpenMediaVault and got it working after much hassle. It doesn't start as a service though.

I'd expect to be able to do
Code:
service openvpn start
however it says
Code:
openvpn: unrecognized service
How can I create it/add it as a service please.

Thanks
 
Old 09-30-2015, 12:17 PM   #2
NotAComputerGuy
Member
 
Registered: Jun 2012
Distribution: Linux Mint - Debian Edition
Posts: 349

Original Poster
Rep: Reputation: 13
Fixed it!

I copied my working /etc/init.d/openvpn file from my laptop to the computer and then did update-rc.d openvpn defaults and hey presto it worked!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] OpenVPN - OpenMediaVault NotAComputerGuy Linux - Newbie 7 09-30-2015 11:35 AM
OpenMediaVault 1.0 (NAS) released FBSD Linux - Server 0 09-18-2014 11:45 PM
LXer: OpenMediaVault 1.0 review LXer Syndicated Linux News 0 09-17-2014 07:33 PM
OpenMediaVault Mount Problems Blipside Linux - Server 2 08-01-2012 11:22 AM


All times are GMT -5. The time now is 11:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration