[GH-ISSUE #68] init.d/service script #52

Closed
opened 2026-02-26 05:31:11 +03:00 by kerem · 5 comments
Owner

Originally created by @gu3st on GitHub (Apr 15, 2013).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/68

Now that log.io doesn't use Forever to start itself (or do I need to use forever manually?), it would be beneficial to provide init.d (and related) scripts to allow log.io harvester and/or server to be managed by the built in service manager (rather than started manually).

Originally created by @gu3st on GitHub (Apr 15, 2013). Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/68 Now that log.io doesn't use Forever to start itself (or do I need to use forever manually?), it would be beneficial to provide init.d (and related) scripts to allow log.io harvester and/or server to be managed by the built in service manager (rather than started manually).
kerem closed this issue 2026-02-26 05:31:11 +03:00
Author
Owner

@AlexeyKupershtokh commented on GitHub (May 20, 2013):

https://github.com/NarrativeScience/Log.io/wiki/Daemonizing-log.io-on-Ubuntu-using-upstart-(v0.3.x)
is this what you're looking for?

<!-- gh-comment-id:18147977 --> @AlexeyKupershtokh commented on GitHub (May 20, 2013): https://github.com/NarrativeScience/Log.io/wiki/Daemonizing-log.io-on-Ubuntu-using-upstart-(v0.3.x) is this what you're looking for?
Author
Owner

@gu3st commented on GitHub (May 28, 2013):

It is, but it doesn't quite work. I'll do some digging a little later to identify why it's dying.. but the process doesn't continue to live.

<!-- gh-comment-id:18567255 --> @gu3st commented on GitHub (May 28, 2013): It is, but it doesn't quite work. I'll do some digging a little later to identify why it's dying.. but the process doesn't continue to live.
Author
Owner

@patforg commented on GitHub (Jun 4, 2013):

I'm looking into demonizing the server and harvester.

Was trying to follow the guide at https://github.com/NarrativeScience/Log.io/wiki/Daemonizing-log.io-on-Ubuntu-using-upstart-(v0.3.x)

Is the logio in the line bellow means the daemon will need to run under the logio user?

If so probably need to create the user if it doesn't exist...

exec su -s /bin/sh -c 'exec "$0" "$@"' logio -- /usr/local/bin/log.io-server
<!-- gh-comment-id:18936128 --> @patforg commented on GitHub (Jun 4, 2013): I'm looking into demonizing the server and harvester. Was trying to follow the guide at https://github.com/NarrativeScience/Log.io/wiki/Daemonizing-log.io-on-Ubuntu-using-upstart-(v0.3.x) Is the logio in the line bellow means the daemon will need to run under the logio user? If so probably need to create the user if it doesn't exist... ``` bash exec su -s /bin/sh -c 'exec "$0" "$@"' logio -- /usr/local/bin/log.io-server ```
Author
Owner

@romanr commented on GitHub (Feb 15, 2014):

log.io project had init.d scripts and proper installation script that installed init.d. But for some reason it all was removed from this project in Feb 2013.
There's this project https://github.com/Ennexa/logio-initscript that can be used as example

<!-- gh-comment-id:35156059 --> @romanr commented on GitHub (Feb 15, 2014): log.io project had init.d scripts and proper installation script that installed init.d. But for some reason it all was removed from this project in Feb 2013. There's this project https://github.com/Ennexa/logio-initscript that can be used as example
Author
Owner

@msmathers commented on GitHub (Aug 1, 2014):

The wiki has just be updated with a working example, it should be using the ubuntu user instead of the logio user.

https://github.com/NarrativeScience/Log.io/wiki/Daemonizing-log.io-on-Ubuntu-using-upstart-(v0.3.x)

We removed the init.d scripts in 0.3.x because we wanted to encourage users to install and run the application in user space, and not force a choice in daemonization tooling as many users have strong preferences around this.

<!-- gh-comment-id:50855097 --> @msmathers commented on GitHub (Aug 1, 2014): The wiki has just be updated with a working example, it should be using the `ubuntu` user instead of the `logio` user. https://github.com/NarrativeScience/Log.io/wiki/Daemonizing-log.io-on-Ubuntu-using-upstart-(v0.3.x) We removed the init.d scripts in 0.3.x because we wanted to encourage users to install and run the application in user space, and not force a choice in daemonization tooling as many users have strong preferences around this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/log.io-NarrativeScience-old#52
No description provided.