# Listmonk: how to start the app with an option for using own templates?

**URL:** https://forum.yunohost.org/t/listmonk-how-to-start-the-app-with-an-option-for-using-own-templates/27037
**Category:** Support apps
**Tags:** deutsch, english
**Created:** [November 5, 2023, 6:39am UTC](https://forum.yunohost.org/t/listmonk-how-to-start-the-app-with-an-option-for-using-own-templates/27037 "2023-11-05T06:39:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![tinder](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tinder/32/11441_2.png) [@tinder](https://forum.yunohost.org/u/tinder)
#### Post date: [November 5, 2023, 6:39am UTC](https://forum.yunohost.org/t/listmonk-how-to-start-the-app-with-an-option-for-using-own-templates/27037/1 "2023-11-05T06:39:28Z")

</div>

### My YunoHost server

**Hardware:** VPS bought online  
**YunoHost version:** 11.2.5. stable  
**I have access to my server :** Through SSH | through the webadmin  
**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?** : no  
**If yes, please explain:** –  
**If your request is related to an app, specify its name and version:** listmonk 2.5.1~ynh2

### Description of my issue

Hello all,

I 've installed listmunk. Until now my first steps working fine. 🙂

I want to customize the templates. I read I ve to copy the static-Folder from github ([listmonk/static at master · knadh/listmonk · GitHub](https://github.com/knadh/listmonk/tree/master/static)) and start listmonk with a special option.

**My question:**  
How can I start listmonk with the following command in yunohost system?

```auto
./listmonk --static-dir=my/custom/path

```

Which file in yunohost I ve to edit?

Can someone give me an advice?

Thank you so much  
Tinder

---

<div class="post-metadata">

### Author: ![rodinux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rodinux/32/7029_2.png) [@rodinux](https://forum.yunohost.org/u/rodinux)
#### Post date: [November 6, 2023, 7:21pm UTC](https://forum.yunohost.org/t/listmonk-how-to-start-the-app-with-an-option-for-using-own-templates/27037/2 "2023-11-06T19:21:06Z")

</div>

I think you can edit directly in the admin webui of listmonk a personal template to use after…  
Go to Campaigns =\> Models and create a template, you can look the models to have an idea. Then you can choose your personal template…

Then if you want use CLI commands, you can try with root user

```auto
cd /var/www/listmonk
sudo -u listmonk ./listmonk --help

```

I am not sure about this… but yes after a test it should works…  
Be careful also with the permissions of the files they must be owned by `listmonk:www-data`

---

<div class="post-metadata">

### Author: ![tinder](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tinder/32/11441_2.png) [@tinder](https://forum.yunohost.org/u/tinder)
#### Post date: [November 19, 2023, 6:46am UTC](https://forum.yunohost.org/t/listmonk-how-to-start-the-app-with-an-option-for-using-own-templates/27037/3 "2023-11-19T06:46:16Z")

</div>

Thank you very much for your tips. I’m afraid I expressed myself a little badly: I wasn’t talking about the templates for the campaigns. I was talking about the templates for the list view, for example, or the subscription form under `/subscription/form`.

I would like to change something there. And to do this, I need to add a parameter to the start of listmonk (as a service) in Yunohost. But how do I start the service regularly with the parameter? The parameter should specify the path to the templates. - At least that’s how I understood it.

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [December 4, 2023, 6:46am UTC](https://forum.yunohost.org/t/listmonk-how-to-start-the-app-with-an-option-for-using-own-templates/27037/4 "2023-12-04T06:46:29Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
