systemctl enable unit
habilita unidades de usuário do systemd
Eu coloquei uma unidade em ~ / .config / systemd / unit:
[Unit]
Description=Test systemd user enabled
[Service]
ExecStart=/bin/sh -c 'echo afdasf > /home/joelmo/sysdworking'
[Install]
WantedBy=default.target
Mas eu não acho que isso está sendo executado, não vejo nenhum trabalho de arquivo. É possível habilitar as unidades de usuário em 14.10?
systemctl enable unit
habilita unidades de usuário do systemd
Para mim, isso funcionou:
systemctl --user enable myunit
O seguinte comando mostra se a unidade está ativada:
systemctl --user status myunit