mirror of
https://github.com/YunoHost-Apps/listmonk_ynh.git
synced 2024-09-03 19:36:15 +02:00
autocreate uploads
This commit is contained in:
parent
f0773968d1
commit
0b50e6619f
1 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
[Unit]
|
||||
Description=Listmonk: newsletter and mailing list manager
|
||||
Documentation=https://listmonk.app/docs/
|
||||
ConditionPathExists=__FINALPATH__/config.toml
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
|
@ -8,6 +9,8 @@ Type=simple
|
|||
User=__APP__
|
||||
Group=__APP__
|
||||
WorkingDirectory=__FINALPATH__/
|
||||
ExecStartPre=/usr/bin/mkdir -p "__FINALPATH__/uploads"
|
||||
ExecStartPre=__FINALPATH__/listmonk --config __FINALPATH__/config.toml --upgrade --yes
|
||||
ExecStart=__FINALPATH__/listmonk
|
||||
Restart=always
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue