diff options
Diffstat (limited to 'vagrant/rails.service')
-rw-r--r-- | vagrant/rails.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vagrant/rails.service b/vagrant/rails.service new file mode 100644 index 0000000..c37116e --- /dev/null +++ b/vagrant/rails.service @@ -0,0 +1,12 @@ +[Unit] +Description="Systemd service to boot rails server when booting VM" + +[Install] +WantedBy=multi-user.target +After=remote-fs.target +After=dhcpcd.service + +[Service] +Type=simple +ExecStart=/vagrant/script/rails server --port=80 + |