Low commit activity in last 3 years
A long-lived project that still receives updates
Upstart user-level export scripts for systemd on Ubuntu 16.04+
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Foreman export scripts for user-level systemd on Ubuntu 16.04+

# Gemfile
gem "foreman-export-systemd_user"

then

bundle exec foreman export systemd-user --app <app-name>

Note that this may break from foreman's protocol a bit, because it starts the processes after export. It does this by running the following:

loginctl enable-linger
systemctl --user enable <app-name>.target
systemctl --user restart <app-name>.target

After forgetting to run these steps enough times, I just decided to bake it into the export.