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

New Generator - SystemD Unit #356

Closed
bketelsen opened this issue Apr 5, 2017 · 2 comments
Closed

New Generator - SystemD Unit #356

bketelsen opened this issue Apr 5, 2017 · 2 comments
Labels
enhancement New feature or request help wanted Feel free to contribute!

Comments

@bketelsen
Copy link

/etc/systemd/system/gcon.service

[Unit]
Description=gophercon website
[Service]
PIDFile=/tmp/gophercon.pid-3000
User=www-data
Group=www-data
Environment=GO_ENV=production
Environment=POSTGRES_PASSWORD=SuperS3cretSquirr3l
WorkingDirectory=/root/go/src/github.com/gopheracademy/gcon
ExecStart=/bin/bash -c '/root/go/src/github.com/gopheracademy/gcon/gcon'
[Install]
WantedBy=multi-user.target

@bketelsen bketelsen added enhancement New feature or request help wanted Feel free to contribute! labels Apr 5, 2017
@stanislas-m
Copy link
Member

Hum, maybe just providing a template in the documentation is enough? A production-dependent generator seems a bit overkill to me.

@markbates
Copy link
Member

I think this would be better suited as a plugin for buffalo, not part of the Buffalo project itself. Plugins are meant for exactly this type of extending of the project.

Documentation on how to write plugins can be found at http://gobuffalo.io/docs/plugins.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Feel free to contribute!
Projects
None yet
Development

No branches or pull requests

3 participants