This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# see the steps at https://damuz91.medium.com/setting-up-puma-as-a-service-in-systemd-in-ubuntu-18-9d2c1fe774e4 | |
# but to use ExecStart as described bellow | |
[Unit] | |
Description=Puma HTTP Server | |
After=network.target | |
[Service] | |
Type=simple | |
User=deploy | |
WorkingDirectory=/home/deploy/workflows-assistant/current |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# This file tells systemd how to run Sidekiq as a 24/7 long-running daemon. | |
# | |
# Customize this file based on your bundler location, app directory, etc. | |
# | |
# If you are going to run this as a user service (or you are going to use capistrano-sidekiq) | |
# Customize and copy this to ~/.config/systemd/user | |
# Then run: | |
# - systemctl --user enable sidekiq | |
# - systemctl --user {start,stop,restart} sidekiq |
OlderNewer