Skip to content

Running SystemD Conf

Yeyo edited this page Jan 19, 2024 · 1 revision
[Unit]
Description=Magnetissimo Server

[Service]

# Replace with the user that owns the files or leave as is
User=root
Group=root

Restart=always
ExecStart=/usr/bin/mix phx.server

# Replace the following with the path to the installation
WorkingDirectory=/var/www/magnetissimo
Environment=MIX_PATH=/var/www/magnetissimo

[Install]
WantedBy=multi-user.target
Clone this wiki locally