eBooru/vagrant/danbooru.service
2019-02-16 12:38:16 -05:00

13 lines
272 B
Desktop File

[Unit]
Description=Danbooru
After=network.target
[Service]
Type=simple
User=danbooru
WorkingDirectory=/home/danbooru/danbooru
ExecStart=/bin/bash -c 'source /etc/profile.d/chruby.sh;/home/danbooru/danbooru/bin/bundle exec foreman start'
[Install]
WantedBy=vagrant.mount