Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

add instructions to install a systemd service #12

Merged
merged 1 commit into from
Feb 22, 2019
Merged

add instructions to install a systemd service #12

merged 1 commit into from
Feb 22, 2019

Conversation

anarcat
Copy link
Contributor

@anarcat anarcat commented Feb 19, 2019

I have removed the --verbose option which I tested here because it
doesn't do anything, see #11.

Otherwise this is pretty much what I'm using in production now.

Closes: #10

I have removed the `--verbose` option which I tested here because it
doesn't do anything, see #11.

Otherwise this is pretty much what I'm using in production now.

Closes: #10
@anarcat anarcat mentioned this pull request Feb 19, 2019
@gares
Copy link
Owner

gares commented Feb 21, 2019

Thanks very much for this!

I've just one little question, I'm no systemd expert.
I've the impression that the one shot service depends on networking being no, while the timer one does not declare such a need. Is it a limitation of systemd or it can be actually expressed? (I mean "run this every X if Y holds")

@anarcat
Copy link
Contributor Author

anarcat commented Feb 21, 2019

I've the impression that the one shot service depends on networking being no, while the timer one does not declare such a need. Is it a limitation of systemd or it can be actually expressed? (I mean "run this every X if Y holds")

As we discussed in #10, the network-online.target doesn't actually trigger in user environment, unfortunately. It's purely cosmetic, and somewhat wishful thinking that it would eventually work. We might want to simply remove it.

But that said, I believe it's sufficient to have it in the .service file.

@gares
Copy link
Owner

gares commented Feb 22, 2019

Oh right, I did forget. Thanks again

@gares gares merged commit e273f08 into gares:master Feb 22, 2019
@anarcat anarcat deleted the systemd branch March 3, 2019 16:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants