Systemd User Unit
The package framework would copy files at
home/.config/systemd/user/ on acquired and remove them on released.
note that user unit cannot be related with normal systemd unit. If you need your package to be related with system service, please refer to start_dep_services
The package should use
synosystemctl start and
synosystemctl stop to control user units inside scripts.
If you want to have systemd unit inside the system, you may just put your units at
conf/systemd/pkg-[customname] without the need to use this
The package framework would copy systemd units to
/usr/local/lib/systemd/system on acquired and remove them on released.