Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start hc after boot on Debian #59

Closed
TribuneX opened this issue Sep 10, 2016 · 3 comments
Closed

Start hc after boot on Debian #59

TribuneX opened this issue Sep 10, 2016 · 3 comments

Comments

@TribuneX
Copy link

Is there an easy way to have hc started after a reboot? I can use the following script to start hc from the command line:

export GOPATH=~/go/
cd ~/go/src/hklight/
go run ~/go/src/hklight/home.go

But I can't execute it via cron after a reboot. Any suggestions on how to start hc after a reboot?

@brutella
Copy link
Owner

Why can't you execute it via cron?

I personally use runit as described in this post.

@brutella
Copy link
Owner

Is this still an issue?

@TribuneX
Copy link
Author

Thanks! I got it working with the post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants