gab-social/dist/gabsocial-web.service
2019-07-02 03:10:25 -04:00

18 lines
369 B
Desktop File

[Unit]
Description=gabsocial-web
After=network.target
[Service]
Type=simple
User=gabsocial
WorkingDirectory=/home/gabsocial/live
Environment="RAILS_ENV=production"
Environment="PORT=3000"
ExecStart=/home/gabsocial/.rbenv/shims/bundle exec puma -C config/puma.rb
ExecReload=/bin/kill -SIGUSR1 $MAINPID
TimeoutSec=15
Restart=always
[Install]
WantedBy=multi-user.target