1
0
mirror of https://github.com/hak8or/proxmox_scripts.git synced 2025-06-28 11:46:28 +00:00

Added demo ruby project and added readme.md example of using a dir instead of script.

This commit is contained in:
2017-11-14 15:09:16 -05:00
parent 9dc3988c3c
commit a39c5e18c6
6 changed files with 135 additions and 2 deletions

View File

@ -0,0 +1,13 @@
[Unit]
Description=Example Ruby website
Requires=network.target
[Service]
Type=simple
User=website
Group=website
WorkingDirectory=/var/www
ExecStart=/usr/bin/bash -lc 'bundle exec rackup -s puma -p 9463 -o [::]'
[Install]
WantedBy=multi-user.target