2023-12-20 10:44:46 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Aliendalvik container
|
|
|
|
Requires=systemd-user-sessions.service network.target lxc-net.service aliendalvik-config.service
|
|
|
|
BindsTo=aliendalvik-user-dependencies.service
|
|
|
|
After=systemd-user-sessions.service network.target lxc-net.service aliendalvik-config.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=notify
|
2023-12-29 16:05:12 +00:00
|
|
|
NotifyAccess=all
|
|
|
|
TimeoutSec=180
|
|
|
|
Restart=never
|
|
|
|
RestartSec=3
|
|
|
|
RestartPreventExitStatus=32
|
2023-12-20 10:44:46 +00:00
|
|
|
ExecStart=/usr/bin/aliendalvik
|
|
|
|
ExecStop=/usr/bin/lxc-attach --name=aliendalvik --lxcpath=/tmp/appsupport -- /system/bin/reboot -p
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=graphical.target
|