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

Create listmonk-simple.service #1622

Merged
merged 5 commits into from
Dec 22, 2023
Merged

Create listmonk-simple.service #1622

merged 5 commits into from
Dec 22, 2023

Conversation

MaximilianKohler
Copy link
Contributor

Alternative to some of the changes in #1614

@MaximilianKohler
Copy link
Contributor Author

I was going to readd DynamicUser=True (since it didn't seem to give an error) but I saw that it was introduced in systemd 232 https://0pointer.net/blog/dynamic-users-with-systemd.html, and CentOS 7 is only on systemd 219.

# Create dynamic user for listmonk service instance, and folders it can write to
# https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#DynamicUser=
DynamicUser=True
StateDirectory=/etc/listmonk
LogsDirectory=/etc/listmonk
CacheDirectory=/etc/listmonk/cache

@knadh knadh merged commit dd87a10 into knadh:master Dec 22, 2023
@MaximilianKohler MaximilianKohler deleted the patch-2 branch December 23, 2023 12:17
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

Successfully merging this pull request may close these issues.

2 participants