Como ativar as unidades do usuário systemd em 14.10

1

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?

    
por Joelmob 30.10.2014 / 12:32

2 respostas

0

systemctl enable unit

habilita unidades de usuário do systemd

    
por int_ua 31.10.2014 / 02:51
0

Para mim, isso funcionou:

systemctl --user enable myunit

O seguinte comando mostra se a unidade está ativada:

systemctl --user status myunit
    
por Silicomancer 14.12.2015 / 21:54