-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
Provide a systemd .service file? #36
Comments
Docker can be configured to autostart a container on boot, which would
provide the same service.
On Mon, 26 Mar 2018 at 1:13 PM, jmhickman ***@***.***> wrote:
It would be great if the software provided a Systemd .service unitfile.
Wouldn't have to be installed by default, but just having it tucked away in
lib/ or something where someone could edit the relevant paths and get that
up and running. Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#36>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMz6qfsdhC6xpRAT9KEglqM6IvuDEDiYks5tiM1rgaJpZM4S678z>
.
--
Sent from my iPhone
|
The above is what I've done on my personal install. (Although I had to upgrade to debian stretch to get docker's I wouldn't mind including a systemd service file, but I'm an old fuck who's still on sysvinit, so I don't have anything to test it properly on. Mapping the current LRR npm commands to a service lifecycle shouldn't be too hard. |
That's cool about docker, but I'm hosting LANraragi in a LXC container that has it's own init. I'll see if I can't find something that seems applicable, and then try it out myself. If it works, I'll submit it myself. But if someone already knows what to write, please feel free to put in a PR. |
So I've written up a file, and I'm just letting it do its thing until I'm sure that I haven't set anything on fire by using it. If anyone wants to try it out:
I'm sure modifications could be made, but so far this is working. |
Since there's been no additional problems reported, I'll be folding this example into 0.5.3 as a "in case you want this" thing. Thanks again! |
It would be great if the software provided a Systemd .service unitfile. Wouldn't have to be installed by default, but just having it tucked away in lib/ or something where someone could edit the relevant paths and get that up and running. Thanks.
The text was updated successfully, but these errors were encountered: