18 lines
311 B
Plaintext
18 lines
311 B
Plaintext
# transmet: link storage server
|
|
#
|
|
# upstart init script
|
|
|
|
description "transmet link storage"
|
|
author "Dan Ballard"
|
|
|
|
start on (net-device-up
|
|
and local-filesystems
|
|
and runlevel [2345])
|
|
stop on (runlevel [016])
|
|
|
|
chdir /opt/go/src/github.com/dballard/transmet
|
|
|
|
respawn
|
|
|
|
exec /opt/go/bin/transmet --env prod
|