diff options
| author | Kay0u <pierre@kayou.io> | 2020-12-11 14:40:13 +0100 |
|---|---|---|
| committer | Kay0u <pierre@kayou.io> | 2020-12-11 14:40:13 +0100 |
| commit | 061b4f9b9133d475728bf0485054cc64afd68757 (patch) | |
| tree | 98229bb4a4560d51883d3ce6eaffb021896bb865 /conf | |
| parent | a7b1f9a27caf415c3fca5715cc2fe3dd2f82ac62 (diff) | |
| download | mastodon_ynh-061b4f9b9133d475728bf0485054cc64afd68757.tar.gz mastodon_ynh-061b4f9b9133d475728bf0485054cc64afd68757.tar.bz2 mastodon_ynh-061b4f9b9133d475728bf0485054cc64afd68757.zip | |
update starting message of sidekiq
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/mastodon-sidekiq.service | 26 | ||||
| -rw-r--r-- | conf/mastodon-streaming.service | 28 | ||||
| -rw-r--r-- | conf/mastodon-web.service | 26 |
3 files changed, 40 insertions, 40 deletions
diff --git a/conf/mastodon-sidekiq.service b/conf/mastodon-sidekiq.service index a4fc0da..7031e63 100644 --- a/conf/mastodon-sidekiq.service +++ b/conf/mastodon-sidekiq.service @@ -1,18 +1,18 @@ [Unit] - Description=__APP__-sidekiq - After=network.target +Description=__APP__-sidekiq +After=network.target [Service] - Type=simple - User=__APP__ - WorkingDirectory=__FINALPATH__/live - Environment="RAILS_ENV=production" - Environment="DB_POOL=25" - Environment="MALLOC_ARENA_MAX=2" - ExecStart=__RBENV_ROOT__/shims/bundle exec sidekiq -c 25 - TimeoutSec=15 - Restart=always - StandardError=syslog +Type=simple +User=__APP__ +WorkingDirectory=__FINALPATH__/live +Environment="RAILS_ENV=production" +Environment="DB_POOL=25" +Environment="MALLOC_ARENA_MAX=2" +ExecStart=__RBENV_ROOT__/shims/bundle exec sidekiq -c 25 +TimeoutSec=15 +Restart=always +StandardError=syslog [Install] - WantedBy=multi-user.target +WantedBy=multi-user.target diff --git a/conf/mastodon-streaming.service b/conf/mastodon-streaming.service index dd9a605..673b7ae 100644 --- a/conf/mastodon-streaming.service +++ b/conf/mastodon-streaming.service @@ -1,19 +1,19 @@ [Unit] - Description=__APP__-streaming - After=network.target +Description=__APP__-streaming +After=network.target [Service] - Type=simple - User=__APP__ - WorkingDirectory=__FINALPATH__/live - Environment="NODE_ENV=production" - Environment="PORT=__PORT_STREAM__" - Environment="STREAMING_CLUSTER_NUM=1" - Environment="__YNH_NODE_LOAD_PATH__" - ExecStart=__YNH_NODE__ ./streaming - TimeoutSec=15 - Restart=always - StandardError=syslog +Type=simple +User=__APP__ +WorkingDirectory=__FINALPATH__/live +Environment="NODE_ENV=production" +Environment="PORT=__PORT_STREAM__" +Environment="STREAMING_CLUSTER_NUM=1" +Environment="__YNH_NODE_LOAD_PATH__" +ExecStart=__YNH_NODE__ ./streaming +TimeoutSec=15 +Restart=always +StandardError=syslog [Install] - WantedBy=multi-user.target +WantedBy=multi-user.target diff --git a/conf/mastodon-web.service b/conf/mastodon-web.service index bb07cf4..1f5b6be 100644 --- a/conf/mastodon-web.service +++ b/conf/mastodon-web.service @@ -1,18 +1,18 @@ [Unit] - Description=__APP__-web - After=network.target +Description=__APP__-web +After=network.target [Service] - Type=simple - User=__APP__ - WorkingDirectory=__FINALPATH__/live - Environment="RAILS_ENV=production" - Environment="PORT=__PORT_WEB__" - ExecStart=__RBENV_ROOT__/shims/bundle exec puma -C config/puma.rb - ExecReload=/bin/kill -SIGUSR1 $MAINPID - TimeoutSec=15 - Restart=always - StandardError=syslog +Type=simple +User=__APP__ +WorkingDirectory=__FINALPATH__/live +Environment="RAILS_ENV=production" +Environment="PORT=__PORT_WEB__" +ExecStart=__RBENV_ROOT__/shims/bundle exec puma -C config/puma.rb +ExecReload=/bin/kill -SIGUSR1 $MAINPID +TimeoutSec=15 +Restart=always +StandardError=syslog [Install] - WantedBy=multi-user.target +WantedBy=multi-user.target |
