Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

New Generator - System Init #357

Closed
bscott opened this issue Apr 5, 2017 · 0 comments
Closed

New Generator - System Init #357

bscott opened this issue Apr 5, 2017 · 0 comments

Comments

@bscott
Copy link

bscott commented Apr 5, 2017

Create a Generator that creates a sample systemd unit

# /etc/systemd/system/site.service
[Unit]
Description=My Buffalo Application
[Service]
PIDFile=/tmp/buggaloapp.pid-8080
User=www-data
Group=www-data
Environment=GO_ENV=development
Environment=POSTGRES_PASSWORD=NewPass123
WorkingDirectory=/root/go/src/github.com/user/app
ExecStart=/bin/bash -c '/root/go/src/github.com/user/app/app'
[Install]
WantedBy=multi-user.target
@bscott bscott closed this as completed Apr 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant