# Systemd service to launch AppImage

**URL:** https://discourse.appimage.org/t/systemd-service-to-launch-appimage/1459
**Category:** Using AppImages
**Created:** [October 9, 2019, 5:50pm UTC](https://discourse.appimage.org/t/systemd-service-to-launch-appimage/1459 "2019-10-09T17:50:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![lexerel](https://avatars.discourse-cdn.com/v4/letter/l/96bed5/32.png) [@lexerel](https://discourse.appimage.org/u/lexerel)
#### Post date: [October 9, 2019, 5:50pm UTC](https://discourse.appimage.org/t/systemd-service-to-launch-appimage/1459/1 "2019-10-09T17:50:35Z")

</div>

Hello,  
I have an Electron-based application and would need to run it as a service on Linux ARM system using systemd. When I start a service, application immediately exits although the same command would work and keep running when launching from terminal. In systemd unit file’s execPath I just have AppImage location with necessary arguments. Are there any specific commands to be used in this case?

---

<div class="post-metadata">

### Author: ![probono](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/probono/32/81_2.png) [@probono](https://discourse.appimage.org/u/probono)
#### Post date: [November 29, 2019, 9:40pm UTC](https://discourse.appimage.org/t/systemd-service-to-launch-appimage/1459/2 "2019-11-29T21:40:52Z")

</div>

> [@lexerel](#):
>
> When I start a service, application immediately exits although the same command would work and keep running when launching from terminal.

I don’t know why your application exits immediately when it is started from systemd, sorry.
