can't resist
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

18 lines
416 B

[Unit]
Description=Tomie
[Service]
Type=simple
User=tomie
Group=tomie
Restart=on-failure
EnvironmentFile=/opt/tomie/.env
WorkingDirectory=/opt/tomie/_build/prod/rel/tomie/bin
ExecStartPre=/opt/tomie/_build/prod/rel/tomie/bin/tomie eval "MyApp.Release.migrate"
ExecStart=/opt/tomie/_build/prod/rel/tomie/bin/tomie start
ExecStop=/opt/tomie/_build/prod/rel/tomie/bin/tomie stop
[Install]
WantedBy=multi-user.target