[Unit] Description=NEXARCH Core After=network.target postgresql.service Wants=postgresql.service [Service] Type=simple User=nexarch Group=nexarch EnvironmentFile=/etc/nexarch/core.env ExecStart=__INSTALL_DIR__/bin/core Restart=on-failure RestartSec=3 WorkingDirectory=__INSTALL_DIR__ [Install] WantedBy=multi-user.target