My space on the web https://inhji.de
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.

17 lines
433 B

[Unit]
Description=Mirage
[Service]
Type=forking
User=mirage
Group=mirage
Restart=on-failure
EnvironmentFile=/opt/mirage/.env
WorkingDirectory=/opt/mirage/_build/prod/rel/mirage/bin
ExecStartPre=/opt/mirage/_build/prod/rel/mirage/bin/mirage eval "Akedia.Release.migrate"
ExecStart=/opt/mirage/_build/prod/rel/mirage/bin/mirage daemon
ExecStop=/opt/mirage/_build/prod/rel/mirage/bin/mirage stop
[Install]
WantedBy=multi-user.target