moved systemd units to scripts folder
This commit is contained in:
parent
807a1d88ef
commit
a3a31c6f24
6 changed files with 11 additions and 24 deletions
|
@ -1,18 +0,0 @@
|
|||
[Unit]
|
||||
Description=Zammad
|
||||
After=syslog.target
|
||||
After=network.target
|
||||
StopWhenUnneeded=true
|
||||
Wants=zammad-rails.service
|
||||
Wants=zammad-scheduler.service
|
||||
Wants=zammad-websocket.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=zammad
|
||||
Group=zammad
|
||||
Restart=always
|
||||
ExecStart=/bin/sleep infinity
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -1,13 +1,18 @@
|
|||
[Unit]
|
||||
Description=Zammad Application
|
||||
Description=Zammad
|
||||
After=syslog.target
|
||||
After=network.target
|
||||
StopWhenUnneeded=true
|
||||
Wants=zammad-rails.service
|
||||
Wants=zammad-scheduler.service
|
||||
Wants=zammad-websocket.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
Type=simple
|
||||
User=zammad
|
||||
WorkingDirectory=/home/zammad/zammad
|
||||
Environment=RAILS_ENV=production
|
||||
PIDFile=/var/run/zammad.puma.pid
|
||||
ExecStart=puma -p 3000 -d -e production --pidfile /var/run/zammad.puma.pid
|
||||
Group=zammad
|
||||
Restart=always
|
||||
ExecStart=/bin/sleep infinity
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue