summarylogtreecommitdiffstats
path: root/tracks.service
diff options
context:
space:
mode:
authorSlashbunny2013-08-06 18:10:20 -0400
committerSlashbunny2013-08-06 18:10:20 -0400
commit6885cf803eb8691aa94b37fe77d020dd179b2c12 (patch)
tree1ea0a38ee52ff8e577f37fe3b1795ac0caa32a95 /tracks.service
downloadaur-6885cf803eb8691aa94b37fe77d020dd179b2c12.tar.gz
Adopted tracks, reworked the majority of the PKGBUILD
Diffstat (limited to 'tracks.service')
-rw-r--r--tracks.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/tracks.service b/tracks.service
new file mode 100644
index 000000000000..938879e07195
--- /dev/null
+++ b/tracks.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=Tracks GTD Task Manager Web Service
+After=syslog.target
+After=network.target
+After=mysqld.service
+After=postgresql.service
+
+[Service]
+Type=simple
+WorkingDirectory=/usr/share/webapps/tracks
+ExecStart=/usr/bin/bundle exec rails server mongrel -e production -p 10008
+User=http
+Group=http
+StandardOutput=syslog
+TimeoutSec=300
+
+[Install]
+WantedBy=multi-user.target