Start GitBlit server on Synology at startup

266 views
Skip to first unread message

Benoît Freslon

unread,
Oct 9, 2015, 11:46:44 AM10/9/15
to gitblit
Hello,

I installed the GitBlit server on my Sonoloy but I can't install the GitBlit server as service.


I got this error 
sudo: update-rc.d: command not found

But It's possible to launch the server without PuTTY?
I have to lunch PuTTY and connect to my server to start the sever but when I close PuTTY the GitBlit server shutdown.

Thanks for your help.

James Moger

unread,
Oct 9, 2015, 11:57:12 AM10/9/15
to git...@googlegroups.com
I don't know anything about Synology.  I think you were on the right track posting a help request to their forum.  From the description posted in the forum you are trying to use the Ubuntu setup scripts on your Synology device.  Does the Synology device run an Ubuntu/Debian type system?

-J


--
You received this message because you are subscribed to the Google Groups "gitblit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gitblit+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Benoît Freslon

unread,
Oct 11, 2015, 6:28:04 AM10/11/15
to git...@googlegroups.com
Sinology uses is own version of Lunix. It's not ubuntu but the installation of the Linux GitBlit works well.

I can launch the server without any problem.

I'm not a pro on Linux. I just want to install the GitBlit service. :)

Any idea to install manually the GitBlit service on Linux?

Thanks

--
Benoît Freslon

--
You received this message because you are subscribed to a topic in the Google Groups "gitblit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gitblit/GldRl1UTRf0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gitblit+u...@googlegroups.com.
Message has been deleted

rupert.thurner

unread,
Oct 17, 2015, 3:51:11 AM10/17/15
to gitblit
when using the word "service" you mean gitblit starts up automatic when you switch on the system? you could just create a file "gitblit", and put it into /etc/init.d. it only contains what you enter on the command line to start gitblit. more here: http://www.tldp.org/HOWTO/HighQuality-Apps-HOWTO/boot.html 

Benoît Freslon

unread,
Oct 19, 2015, 3:38:14 PM10/19/15
to gitblit
Hello,

I tried to boot the GitBlit server like this

In the init.d folder I created a gitblit file with the "vi" command

cd /volume1/gitblit/
sh gitblit.sh

I also set the CHMOD to 775

But it doesn't work.

For infomration when I execute the gitblit file the server starts.
Reply all
Reply to author
Forward
0 new messages