[DRE-maint] Bug#887085: diaspora-sidekiq.service and diaspora.service
    Pirate Praveen 
    praveen at onenetbeyond.org
       
    Wed Sep  9 18:50:31 BST 2020
    
    
  
/etc/systemd/system/diaspora-sidekiq.service
[Unit]
Description=Diaspora Sidekiq Worker
PartOf=diaspora.target
Requires=redis-server.service
Wants=postgresql.service
After=redis-server.service postgresql.service
PartOf=gitlab.service
ReloadPropagatedFrom=diaspora.service
[Service]
Type=simple
User=diaspora
WorkingDirectory=/usr/share/diaspora
EnvironmentFile=/etc/diaspora/diaspora.conf
SyslogIdentifier=diaspora-sidekiq
ExecStart=/bin/bash -lc "bin/bundle exec sidekiq"
Restart=always
[Install]
WantedBy=diaspora.target
/etc/systemd/system/diaspora.service
[Unit]
Description=Diaspora Services
BindsTo=diaspora-unicorn.service diaspora-sidekiq.service
After=diaspora-unicorn.service diaspora-sidekiq.service
[Service]
Type=idle
RemainAfterExit=yes
ExecStart=-/bin/true
ExecReload=-/bin/true
[Install]
WantedBy=diaspora.target
    
    
More information about the Pkg-ruby-extras-maintainers
mailing list