i create a target file to group all my personal services in my fedora 18, i tested the services and i can start then individually, but if i try to enable the target i got a error message!
[root@ghostrider system]# systemctl enable developer.target
Failed to issue method call: Invalid argument
And here the target code:
###########################################################################
# Target para ativar servicos de desenvolvimento em Java
###########################################################################
#/etc/systemd/system/developer.target
[Unit]
Description=Processes Java
After=default.target
[Install]
Alias=developer.target
I really don't understand what that message means, any clues?
[section]inside a script comment those to line[]as a meaining in shell. As a consequence the call to the shell function [] have incorrect argument. – Kiwy Dec 6 '13 at 13:37man 5 systemd.unitfor valid locations, where among others /etc/systemd/system/ is included. – Anton Eliasson Jan 24 '16 at 17:21